Skip to content

Merge pull request #72 from marmelab/refactor-interceptors #84

Merge pull request #72 from marmelab/refactor-interceptors

Merge pull request #72 from marmelab/refactor-interceptors #84

Workflow file for this run

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