Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dno-luigi authored Feb 26, 2025
1 parent 6685ca0 commit 2b86cbe
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8

- name: Setup Node.js 20
- name: Setup Node.js 20 and pnpm
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "pnpm"
cache: "pnpm" # CORRECTED: Enable pnpm caching, set up node.

- name: Install dependencies
run: pnpm install

- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
projectDir: ./ #If you kept your wrangler.toml in the same directory
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}

0 comments on commit 2b86cbe

Please sign in to comment.