Skip to content

chore(deps): update actions/setup-node action to v4 #385

chore(deps): update actions/setup-node action to v4

chore(deps): update actions/setup-node action to v4 #385

Workflow file for this run

name: pr-preview
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4.0.2
with:
node-version: '15'
- uses: actions/cache@v2.1.6
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('package-lock.json') }}
- run: npm ci
- run: npx redoc-cli bundle reference/toaztr.v1.yaml
- uses: actions/upload-artifact@v2
with:
name: specs
path: redoc-static.html