Skip to content

Commit 01d1e9c

Browse files
authored
Update action (#18)
1 parent 503a7a8 commit 01d1e9c

File tree

3 files changed

+2060
-1446
lines changed

3 files changed

+2060
-1446
lines changed

Diff for: .github/workflows/ci.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
pull_request:
88

9-
# Automatically cancel in-progress actions on the same branch
109
concurrency:
1110
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
1211
cancel-in-progress: true
@@ -16,17 +15,15 @@ jobs:
1615
name: Build Packages
1716
runs-on: ubuntu-latest
1817
steps:
19-
- uses: actions/checkout@v3
20-
- uses: pnpm/action-setup@v2.2.1
21-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v3
20+
- uses: actions/setup-node@v4
2221
with:
23-
node-version: 18
22+
node-version: 20
2423
cache: 'pnpm'
25-
- if: ${{ steps.cache-node.outputs.cache-hit != 'true' }}
26-
run: pnpm install
27-
24+
- run: pnpm install
2825
- uses: changesets/action@v1
29-
if: ${{ github.event_name !== 'pull_request' }}
26+
if: ${{ github.event_name != 'pull_request' }}
3027
with:
3128
publish: pnpm changeset publish
3229
commit: '[ci] release'

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"volta": {
2121
"node": "18.16.0"
2222
},
23-
"packageManager": "pnpm@7.6.0",
23+
"packageManager": "pnpm@8.15.3",
2424
"dependencies": {
2525
"@changesets/cli": "^2.18.1",
2626
"@changesets/changelog-github": "^0.4.2"
2727
},
2828
"devDependencies": {
2929
"prettier": "^2.5.0"
3030
}
31-
}
31+
}

0 commit comments

Comments
 (0)