Skip to content

chore(deps): update actions/dependency-review-action action to v4 #813

chore(deps): update actions/dependency-review-action action to v4

chore(deps): update actions/dependency-review-action action to v4 #813

Workflow file for this run

name: Node.js Docs CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
registry.npmjs.org:443
nodejs.org:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Node.js
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '14'
- name: Install dependencies
run: npm ci
- name: Build docs
run: npm run docs
- name: Ensure there are no changes in docs
run: git diff --exit-code docs/