Skip to content

Release v0.4.1 (#103) #249

Release v0.4.1 (#103)

Release v0.4.1 (#103) #249

Workflow file for this run

name: Test
on:
push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'LICENSE'
- '.editorconfig'
branches:
- main
- master
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'LICENSE'
- '.editorconfig'
branches:
- main
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install modules
run: yarn
- name: Lint code base
run: yarn lint
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node: [18.x, 20.x, 21.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install modules
run: yarn
- name: Run build
run: yarn build
- name: Run tests
run: yarn test