Merge pull request #106 from sima-land/38-examples-bun #281
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: | | |
npm run lint | |
npm run type-check | |
- name: Unit tests | |
run: npm run test -- --coverage --forceExit | |
- name: Package tests | |
working-directory: ./package-tests | |
run: | | |
npm run preparing | |
npm run test |