chore(deps): update actions/setup-node action to v4 #387
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: pr-preview | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4.0.3 | |
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 |