Skip to content

Commit

Permalink
ci: use package.json#packageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jul 29, 2024
1 parent 838c689 commit df8668b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ jobs:
node-version-file: .nvmrc

- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Lint
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ jobs:
node-version-file: .nvmrc

- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Lint
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"imports": {
"typescript": "./src/local-typescript-loader.ts"
},
"packageManager": "[email protected]",
"scripts": {
"build": "tsx src/cli.ts --minify --target node18",
"test": "pnpm build && tsx tests/index.ts",
Expand Down

0 comments on commit df8668b

Please sign in to comment.