Skip to content

export setContext and finalizeContext handlers (#83) #251

export setContext and finalizeContext handlers (#83)

export setContext and finalizeContext handlers (#83) #251

Workflow file for this run

name: test
on: [push]
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: NPM Audit on Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: npm install and audit
run: |
npm ci
npm audit --omit=dev
run-tests:
runs-on: ubuntu-latest
needs: [audit]
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build
npm test
env:
CI: true