Add support for MSW #41
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: "Tests" | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
branches: | |
- master | |
- next | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- uses: bahmutov/npm-install@v1 | |
- name: Lint Check | |
run: npx @biomejs/biome lint src | |
- name: Format Check | |
run: npx @biomejs/biome format src | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- uses: bahmutov/npm-install@v1 | |
- name: Typecheck | |
run: npx tsc | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- uses: bahmutov/npm-install@v1 | |
- name: Unit Tests | |
run: make test | |
env: | |
CI: true |