fix example in documentation #11
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: | |
push: | |
jobs: | |
test_unit: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
cache: npm | |
cache-dependency-path: package-lock.json | |
- run: npm ci | |
- run: npm run check | |
name: Lint source files and check format | |
- run: npm run type-check | |
name: Check types | |
- run: npm test | |
name: Run unit tests |