build(deps-dev): bump body-parser from 1.20.1 to 1.20.3 #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
linux: | |
name: "Node ${{ matrix.node }} on Linux: Test and Lint" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- 10 | |
- 12 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- run: npm ci | |
- run: | | |
npm run commitlint -- \ | |
--verbose \ | |
--from `git merge-base origin/master $GITHUB_SHA` | |
- run: npm run lint | |
- run: npm run test | |
windows: | |
name: "Node ${{ matrix.node }} on Windows: Test and Lint" | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
matrix: | |
node: | |
- 10 | |
- 12 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- run: npm ci | |
- run: npm run test |