Skip to content

Bump step-security/harden-runner from 2.4.1 to 2.7.1 #46

Bump step-security/harden-runner from 2.4.1 to 2.7.1

Bump step-security/harden-runner from 2.4.1 to 2.7.1 #46

Workflow file for this run

name: Test Website Builds
on: [push, pull_request]
permissions:
contents: read
jobs:
test-website:
runs-on: ubuntu-latest
container: node
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- run: npx envinfo
- name: Build and Deploy
env:
NODE_OPTIONS: --openssl-legacy-provider
working-directory: ./website
run: |
npm install
npx gatsby build --prefix-paths