Skip to content

Commit

Permalink
Replace corepack with npm (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 authored Feb 5, 2025
1 parent c39695c commit 6e31589
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: 20
- run: corepack enable pnpm
- run: npm install -g pnpm@latest-10
- run: pnpm i
- run: pnpm build
- uses: int128/release-typescript-action@5c561f7c79fbe5981a4e91a58735a7d124a70022 # v1.34.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: 20
- run: corepack enable pnpm
- run: npm install -g pnpm@latest-10
- run: pnpm i
- run: pnpm test
- run: pnpm build
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: 20
- run: corepack enable pnpm
- run: npm install -g pnpm@latest-10
- run: pnpm i
- run: pnpm lint --fix
- run: pnpm format
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"graphql": "16.10.0"
},
"devDependencies": {
"@eslint/js": "9.19.0",
"@graphql-codegen/cli": "5.0.4",
"@graphql-codegen/import-types-preset": "3.0.0",
"@graphql-codegen/typescript": "4.1.3",
Expand All @@ -28,6 +29,7 @@
"eslint": "9.19.0",
"eslint-plugin-jest": "28.11.0",
"jest": "29.7.0",
"pnpm": "10.1.0",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"typescript": "5.7.3",
Expand All @@ -36,5 +38,5 @@
"engines": {
"node": "20.x"
},
"packageManager": "pnpm@9.15.4"
"packageManager": "pnpm@10.1.0"
}
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e31589

Please sign in to comment.