Skip to content

Commit

Permalink
* Maintenance: Update build-pr workflow
Browse files Browse the repository at this point in the history
`upload-artifact@v3` is deprecated since the end of January so we have to switch to v4 now. Updated pnpm and Node as well in the process.
  • Loading branch information
Lordmau5 committed Feb 11, 2025
1 parent 977c178 commit 165b034
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:
- uses: actions/checkout@v1

- name: Uses PNPM
uses: pnpm/action-setup@v2.0.1
uses: pnpm/action-setup@v4
with:
version: 6.20.4
version: 8
run_install: false

- name: Use Node.js 16.x
uses: actions/setup-node@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: 18
cache: 'pnpm'

- name: Install Dependencies
Expand All @@ -26,7 +27,7 @@ jobs:
run: pnpm build

- name: Archive Build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: |
Expand Down

0 comments on commit 165b034

Please sign in to comment.