Skip to content

[Snyk] Security upgrade express from 4.17.1 to 4.20.0 #238

[Snyk] Security upgrade express from 4.17.1 to 4.20.0

[Snyk] Security upgrade express from 4.17.1 to 4.20.0 #238

Workflow file for this run

name: Percy Snapshots
on:
push:
branches:
- main
paths:
- '**.js'
- 'package.json'
- '**.njk'
- '**.scss'
- '**.yml'
pull_request:
paths:
- '**.js'
- 'package.json'
- '**.njk'
- '**.scss'
- '**.yml'
jobs:
percy:
if: ${{ github.repository == 'GoogleChrome/developer.chrome.com' }}
runs-on: ubuntu-latest
env:
# Increase RAM limit, and make uncaught exceptions crash (default in 16+).
NODE_OPTIONS: --max_old_space_size=4096 --unhandled-rejections=strict
steps:
- name: Checkout
uses: actions/checkout@v1.0.0
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Cache node_modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: Percy
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
run: npm run percy