Modernize #30
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: biome lint src | |
- name: Format Check | |
run: biome format src | |
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 |