Skip to content

Commit 51d2ecb

Browse files
committed
build: use npm instead of pnpm
1 parent 489be26 commit 51d2ecb

File tree

11 files changed

+454
-5087
lines changed

11 files changed

+454
-5087
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616

1717
* @jpoehnelt
1818
pnpm-lock.yaml @googleworkspace-bot @jpoehnelt
19+
package-lock.json @googleworkspace-bot @jpoehnelt

.github/workflows/release.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,13 @@ jobs:
2828
id-token: write
2929
steps:
3030
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
3231
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
33-
with:
34-
cache: "pnpm"
35-
- run: pnpm install
36-
- run: pnpm build
37-
- run: pnpm lint
38-
- run: pnpm check
39-
- run: xvfb-run -a pnpm test
40-
- run: pnpm ci:package
32+
- run: npm ci
33+
- run: npm run build
34+
- run: npm run lint
35+
- run: npm run check
36+
- run: xvfb-run -a npm test
37+
- run: npm run ci:package
4138
- run: |
4239
git config --global user.name "googleworkspace-bot"
4340
git config --global user.email "[email protected]"
@@ -51,5 +48,5 @@ jobs:
5148
commit: "chore: release"
5249
commitMode: github-api
5350
setupGitUser: false
54-
publish: "pnpm ci:release"
55-
version: "pnpm ci:version"
51+
publish: "npm run ci:release"
52+
version: "npm run ci:version"

.github/workflows/test.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25-
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2625
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27-
with:
28-
cache: "pnpm"
29-
- run: pnpm install
30-
- run: pnpm build
31-
- run: pnpm lint
32-
- run: pnpm check
33-
- run: xvfb-run -a pnpm test
34-
- run: pnpm ci:package
26+
- run: npm ci
27+
- run: npm run build
28+
- run: npm run lint
29+
- run: npm run check
30+
- run: xvfb-run -a npm test
31+
- run: npm run ci:package

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

3-
pnpm exec lint-staged
4-
pnpm readme
3+
npx lint-staged
4+
npm run readme

.husky/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

3-
pnpm lint
4-
pnpm check
3+
npm run lint
4+
npm run check

0 commit comments

Comments
 (0)