Skip to content

Fix @koa/cors vulnerability #44

Fix @koa/cors vulnerability

Fix @koa/cors vulnerability #44

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
name: Run tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 16, 18]
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test