Skip to content

Commit bcb3e59

Browse files
committed
ci: upgrade actions
1 parent 913bd70 commit bcb3e59

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

.github/workflows/pr_check.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
15-
16-
- name: Cache PNPM Modules
17-
uses: actions/cache@v3
18-
with:
19-
path: ~/.pnpm-store
20-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
21-
restore-keys: |
22-
${{ runner.os }}-pnpm-
14+
uses: actions/checkout@v4
2315

2416
- name: Setup PNPM
25-
uses: pnpm/action-setup@v2.2.4
17+
uses: pnpm/action-setup@v3
2618
with:
2719
run_install: true
2820

.github/workflows/publish.yml

+3-11
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,17 @@ jobs:
1414
name: Deploy
1515
steps:
1616
- name: Checkout Repository
17-
uses: actions/checkout@v3
18-
19-
- name: Cache PNPM Modules
20-
uses: actions/cache@v3
21-
with:
22-
path: ~/.pnpm-store
23-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
24-
restore-keys: |
25-
${{ runner.os }}-pnpm-
17+
uses: actions/checkout@v4
2618

2719
- name: Setup PNPM
28-
uses: pnpm/action-setup@v2.2.4
20+
uses: pnpm/action-setup@v3
2921
with:
3022
run_install: true
3123

3224
- name: Build Worker
3325
run: pnpm build
3426

3527
- name: Publish to Cloudflare
36-
uses: cloudflare/wrangler-action@1.3.0
28+
uses: cloudflare/wrangler-action@v3
3729
with:
3830
apiToken: ${{ secrets.CF_API_TOKEN }}

0 commit comments

Comments
 (0)