Skip to content

Commit 016384e

Browse files
committed
chore: update GitHub Actions workflow for deploying to Cloudflare Workers, upgrading actions to latest versions and adding Node.js setup
1 parent 9b380b4 commit 016384e

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/deploy-workers.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,20 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6.0.2
2727

2828
- name: Setup Bun
29-
uses: oven-sh/setup-bun@v2
29+
uses: oven-sh/setup-bun@v2.1.2
3030
with:
3131
bun-version: latest
3232

33+
- name: Setup Node.js
34+
uses: actions/setup-node@v6.2.0
35+
with:
36+
node-version: "22"
37+
3338
- name: Cache dependencies
34-
uses: actions/cache@v4
39+
uses: actions/cache@v5.0.3
3540
with:
3641
path: ~/.bun/install/cache
3742
key: bun-${{ runner.os }}-${{ hashFiles('bun.lock', 'bun.lockb') }}
@@ -45,7 +50,7 @@ jobs:
4550

4651
- name: Deploy to Cloudflare Workers
4752
id: deploy
48-
uses: cloudflare/wrangler-action@v3
53+
uses: cloudflare/wrangler-action@v3.14.1
4954
with:
5055
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
5156
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)