Skip to content

[Snyk] Security upgrade sinon from 14.0.2 to 19.0.0 #1279

[Snyk] Security upgrade sinon from 14.0.2 to 19.0.0

[Snyk] Security upgrade sinon from 14.0.2 to 19.0.0 #1279

Workflow file for this run

name: Verify Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify-docs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '*'
cache: 'npm'
cache-dependency-path: 'npm-shrinkwrap.json'
check-latest: true
- name: Install core dependencies
run: npm ci --no-audit
- name: Install site dependencies
run: npm run site:build:install
- name: Generate docs
run: npm run docs
- name: Check for changes
run: |
if [ -z "$(git status --porcelain)" ]; then
echo "No changes to docs files detected"
else
echo "Changes to docs files detected, please run 'npm run docs' to sync docs"
exit 1
fi