Skip to content

Test & fix with helmet v7 and set as a peer dependency on ^6||^7 #30

Test & fix with helmet v7 and set as a peer dependency on ^6||^7

Test & fix with helmet v7 and set as a peer dependency on ^6||^7 #30

Workflow file for this run

name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
name: "Lint & Test (Node ${{ matrix.node }})"
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm run lint
- run: npm run test