[Snyk] Security upgrade glob from 8.0.3 to 9.0.0 #86
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [12.x, 14.x] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore cached dependencies | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: node-modules-${{ hashFiles('package.json') }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run Tests | |
run: npm test | |
- name: Coveralls Parallel | |
uses: coverallsapp/[email protected] | |
with: | |
flag-name: run-${{ matrix.os }}-${{ matrix.node-version }} | |
github-token: ${{ secrets.github_token }} | |
parallel: true | |
finish: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
parallel-finished: true |