Skip to content

[Snyk] Fix for 2 vulnerabilities #7000

[Snyk] Fix for 2 vulnerabilities

[Snyk] Fix for 2 vulnerabilities #7000

Workflow file for this run

name: Browser Tests
# **What it does**: This runs our browser tests on pull requests.
# **Why we have it**: This is the only way we currently test our browser JavaScript.
# **Who does it impact**: Docs engineering, open-source engineering contributors.
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
# Even if if doesn't do anything
- name: Checkout
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
with:
lfs: true
- name: Checkout LFS objects
run: git lfs checkout
- name: Setup Node
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: 16.13.x
cache: npm
- name: Install dependencies
run: npm ci --include=optional
- name: Run browser-test
run: npm run browser-test