Skip to content

Fix/decorator

Fix/decorator #66

Workflow file for this run

name: Lint & Test
on:
push:
pull_request:
types: [opened, synchronize]
jobs:
test:
name: Lint & Test
strategy:
matrix:
node-version: [16, 18, 20, 22]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Lint
if: matrix.node-version == 22
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build