Swap out @vitejs/plugin-react
for the -swc
variant
#12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: get node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: download dependencies | |
run: npm ci | |
- name: build project | |
env: | |
CI: false | |
run: npm run build |