Skip to content

chore: release 0.22.0 (#72) #154

chore: release 0.22.0 (#72)

chore: release 0.22.0 (#72) #154

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: matrix.node-version == '18.x'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm run build