Skip to content

Commit

Permalink
ci: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Nov 15, 2024
1 parent bf41b7c commit 8156b2f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ jobs:
registry-url: 'https://registry.npmjs.org'


- name: Install and Update ./src/*.ts for deno
run: npm install && node scripts/replace-files-for-deno.mjs
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Install dependencies
run: pnpm install

- name: Update ./src/*.ts for deno
run: node scripts/replace-files-for-deno.mjs

- name: Move files to ./deno folder
run: cp ./deno/deno.json README.md Mock-plugin.md CHANGELOG.md ./src/ && rm -f package.json
Expand Down

0 comments on commit 8156b2f

Please sign in to comment.