Skip to content

Commit

Permalink
ci: update pr-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad committed Aug 13, 2024
1 parent 328c9b2 commit 7d41681
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/pr-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,23 @@ jobs:
# if: false
permissions: write-all
steps:
- name: Checkout
- name: Checkout latest PR head
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.pull_request.head.sha }}

- name: CI Setup
uses: ./.github/actions/ci-setup
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: "https://registry.npmjs.org"

- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: ${{ inputs.pnpm-version }}
run_install: true

- name: Build
run: pnpm build
Expand Down

0 comments on commit 7d41681

Please sign in to comment.