chore: migrate from create-react-app
to vite
#2
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 | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Use Node version defined in manifest | |
uses: volta-cli/action@v4 | |
- name: Node.js version | |
run: node -v | |
- name: npm version | |
run: npm -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Check for build errors | |
run: npm run build | |
- name: Run test suite | |
run: npm test |