Skip to content

Update actions/setup-node action to v3.8.2 #829

Update actions/setup-node action to v3.8.2

Update actions/setup-node action to v3.8.2 #829

Workflow file for this run

name: Build PRs for LoopBack.io site
on:
pull_request:
branches:
- gh-pages
workflow_dispatch:
branches:
- gh-pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
- name: Use Node.js 16
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 16
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011 # v1.157.0
with:
ruby-version: 2.7
- name: Install and Build 🔧
run: |
bundle install
npm install
npm ls @loopback/docs 2>/dev/null || true
npm run build