fix: move cargo update after cargo check #95
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: CI | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
- run: npm ci | |
- run: npm run format:check | |
- run: npm run lint | |
# FIXME: Re-enable this once tests can reliably run in GitHub Actions | |
# - run: npm run test | |
- run: npm run build | |
- name: Check that dist/ is correctly generated | |
run: git diff --quiet HEAD -- dist |