Skip to content

Update ruby/setup-ruby action to v1.164.0 #896

Update ruby/setup-ruby action to v1.164.0

Update ruby/setup-ruby action to v1.164.0 #896

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@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 16
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@df99e806d4462b1b0f1d13061fa63fce294b3d46 # v1.164.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