Add slow pagination slider-bar #153
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: Start Preview Deployment | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
- 'proxy/**' | |
- 'server/**' | |
- 'scripts/**' | |
- '.vscode/**' | |
- '.husky/**' | |
- '.github/**' | |
- 'core/test/**' | |
- 'loader-tests/**' | |
permissions: | |
contents: read | |
jobs: | |
prepare: | |
name: Prepare | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install tools from asdf config | |
uses: ai/asdf-cache-action@v1 | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile --ignore-scripts | |
- name: Build assets | |
run: cd web && pnpm build | |
env: | |
STAGING: 1 | |
- name: Save PR number | |
run: echo "${{ github.event.pull_request.number }}" > ./preview-id | |
- name: Save web assets for deploy | |
uses: actions/upload-artifact@v4 | |
with: | |
retention-days: 1 | |
name: preview-assets | |
path: | | |
web/.dockerignore | |
web/dist/ | |
web/nginx.conf | |
web/Dockerfile | |
web/routes.regexp | |
preview-id |