[Snyk] Security upgrade glob from 7.2.0 to 9.0.0 #98
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: Main workflow (PR) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Lint & run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [12, 14, 16] | |
steps: | |
- name: Checkout the Git repository | |
uses: actions/checkout@v1 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install dependencies | |
run: | | |
set -x; | |
npm i -g yarn | |
yarn | |
- name: Lint | |
run: yarn lint | |
- name: Run tests | |
run: yarn test |