Skip to content

Update ruby/setup-ruby action to v1.187.0 #1082

Update ruby/setup-ruby action to v1.187.0

Update ruby/setup-ruby action to v1.187.0 #1082

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Use Node.js 18
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # v1.186.0
with:
ruby-version: 3.2
- name: Install and Build 🔧
run: |
bundle install
npm install
npm ls @loopback/docs 2>/dev/null || true
npm run build