Upgrade underscore dependency to fix CVE-2021-23358 #128
This file contains hidden or 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: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/**' | |
- 'test/**' | |
- '*.js' | |
- 'package.json' | |
jobs: | |
tests: | |
env: | |
NPM_CONFIG_PROGRESS: "false" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
- name: Install dependencies | |
run: | | |
npm ci | |
npm install --no-audit karma-cli karma-sauce-launcher | |
- name: Test in Sauce Labs | |
run: BUILD_NUMBER="$GITHUB_RUN_NUMBER" BUILD_ID="$GITHUB_RUN_ID" JOB_NUMBER="$GITHUB_JOB" ./node_modules/.bin/karma start karma.conf-sauce.js | |
env: | |
SAUCE_USERNAME: ${{ secrets.SauceUsername }} | |
SAUCE_ACCESS_KEY: ${{ secrets.SauceAccessKey }} |