Skip to content

Commit e6d9ba8

Browse files
committed
ci: update release config
1 parent 5ed6dec commit e6d9ba8

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
uses: actions/checkout@v3
2727
with:
2828
fetch-depth: 0 # Not needed if lastUpdated is not enabled
29-
- uses: pnpm/action-setup@v2 # pnpm is optional but recommended, you can also use npm / yarn
29+
- uses: pnpm/action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
3030
with:
31-
version: 6
31+
version: 8
3232
- name: Setup Node
3333
uses: actions/setup-node@v3
3434
with:

.github/workflows/release.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ jobs:
1616
uses: actions/checkout@v3
1717
with:
1818
fetch-depth: 0 # Not needed if lastUpdated is not enabled
19-
- uses: pnpm/action-setup@v2 # pnpm is optional but recommended, you can also use npm / yarn
20-
with:
21-
version: 6
22-
- name: Setup Node
19+
- name: Install Node.js
2320
uses: actions/setup-node@v3
2421
with:
2522
node-version: 20
26-
cache: pnpm
27-
- name: Setup Pages
28-
uses: actions/configure-pages@v3
23+
24+
- uses: pnpm/action-setup@v3
25+
name: Install pnpm
26+
with:
27+
version: 8
28+
run_install: false
29+
2930
- name: Install dependencies
3031
run: pnpm install
3132
- name: Build packages
@@ -36,11 +37,6 @@ jobs:
3637
needs: build
3738
runs-on: ubuntu-latest
3839
steps:
39-
- uses: actions/checkout@v3
40-
- uses: actions/setup-node@v3
41-
with:
42-
node-version: 20
43-
registry-url: https://registry.npmjs.org/
4440
- run: pnpm publish --filter ./packages/*
4541
env:
4642
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)