Skip to content

Commit af27d6c

Browse files
committed
ci: update workflows
1 parent dfca85a commit af27d6c

File tree

4 files changed

+3504
-2317
lines changed

4 files changed

+3504
-2317
lines changed

.github/workflows/integration.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,13 @@ jobs:
1717
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Install Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
25-
node-version: 14
26-
27-
- name: Install pnpm
28-
uses: pnpm/[email protected]
29-
with:
30-
version: 7.4.0
31-
run_install: false
32-
33-
- name: Get pnpm store directory path
34-
id: pnpm-store-dir-path
35-
run: echo "::set-output name=dir::$(pnpm store path)"
36-
37-
- name: Setup pnpm store cache
38-
uses: actions/cache@v3
39-
id: pnpm-store-cache
40-
with:
41-
path: ${{ steps.pnpm-store-dir-path.outputs.dir }}
42-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
43-
restore-keys: |
44-
${{ runner.os }}-pnpm-
25+
cache: pnpm
26+
node-version: 18
4527

4628
- name: Install dependencies
4729
run: pnpm install

.github/workflows/release.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,15 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Install Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 14
19+
cache: pnpm
20+
node-version: 18
2021
registry-url: 'https://registry.npmjs.org'
2122

22-
- name: Install pnpm
23-
uses: pnpm/[email protected]
24-
with:
25-
version: 7.4.0
26-
run_install: false
27-
28-
- name: Get pnpm store directory path
29-
id: pnpm-store-dir-path
30-
run: echo "::set-output name=dir::$(pnpm store path)"
31-
32-
- name: Setup pnpm store cache
33-
uses: actions/cache@v3
34-
id: pnpm-store-cache
35-
with:
36-
path: ${{ steps.pnpm-store-dir-path.outputs.dir }}
37-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
38-
restore-keys: |
39-
${{ runner.os }}-pnpm-
40-
4123
- name: Install dependencies
4224
run: pnpm install
4325

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"cli.mjs",
5151
"dist"
5252
],
53-
"packageManager": "pnpm@7.4.0",
53+
"packageManager": "pnpm@9.15.9",
5454
"sideEffects": false,
5555
"engines": {
5656
"node": ">=14.0.0"

0 commit comments

Comments
 (0)