Bump path-to-regexp from 1.8.0 to 1.9.0 #2027
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-pnpm | |
- name: get build info | |
id: build_info | |
run: echo timestamp=$(git show -s --format=%cI) >> $GITHUB_OUTPUT | |
- run: pnpm install | |
- run: pnpm build:production | |
env: | |
VITE_APP_GIT_SHA: ${{ github.sha }} | |
VITE_APP_GIT_TIMESTAMP: ${{ steps.build_info.outputs.timestamp }} | |
- name: Upload built project | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./dist | |
overwrite: true | |
retention-days: 1 | |
name: build-artifacts-${{ github.run_id }} |