Skip to content

ci: configure the protected branch #803

ci: configure the protected branch

ci: configure the protected branch #803

Workflow file for this run

'on':
push:
branches:
- backPortFix
pull_request: null
name: ci
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 14
- 16
- 18
- 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: >-
npm install --production --engine-strict --ignore-scripts
--no-package-lock
- run: rm -rf node_modules
- run: npm install --engine-strict
- run: npm test
env:
MOCHA_THROW_DEPRECATION: false
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install --engine-strict
- run: npm test
env:
MOCHA_THROW_DEPRECATION: false
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
- run: npm run lint
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
- run: npm run docs
- uses: JustinBeckwith/linkinator-action@v1
with:
paths: docs/