Skip to content

chore: lock file maintenance #1989

chore: lock file maintenance

chore: lock file maintenance #1989

Workflow file for this run

# Inspired by: https://github.com/actions/starter-workflows/blob/1035244887e26fbbd4f1017d919fb5995cc521c4/pages/jekyll.yml
name: Build LoopBack.io website
on:
pull_request:
branches:
- gh-pages
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@b09bb98e06d4d774595224525879c09bc6e98c40 # v2.20.1
with:
disable-sudo-and-containers: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
raw.githubusercontent.com:443
registry.npmjs.org:443
release-assets.githubusercontent.com:443
rubygems.org:443
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24.18.0
- name: Set up Ruby
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
with:
bundler-cache: true
- name: Install and Build
run: |
npm ci --ignore-scripts
npm run postinstall
npm ls @loopback/docs 2>/dev/null || true
npm run build