Update swagger-ui-dist to ^5.4.2 #751
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
persist-credentials: false | |
- name: Use Node.js 16 | |
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0 | |
with: | |
node-version: 16 | |
- name: Set up Ruby 2.7 | |
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.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 |