Skip to content

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

Update ruby/setup-ruby action to v1.187.0

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

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@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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