Bump node from 22.6-alpine to 22.7-alpine #947
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: Deploy preview | |
on: | |
pull_request_target: null | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
continue-on-error: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Use node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.7 | |
- name: Build | |
run: | | |
npm ci && \ | |
node ./scripts/set-homepage.cjs /shlink-web-client/${GITHUB_HEAD_REF#refs/heads/} && \ | |
npm run build | |
- name: Deploy preview | |
uses: shlinkio/[email protected] | |
with: | |
folder: build |