Skip to content

Commit 1cc3753

Browse files
committed
changed npm to pnpm in github actions
1 parent a85f689 commit 1cc3753

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
run: npx nypm@latest i
3434

3535
- name: Lint
36-
run: npm run lint
36+
run: pnpm lint
3737

3838
- name: Type check
39-
run: npm run test:types
39+
run: pnpm test:types
4040

4141
test:
4242
runs-on: ubuntu-latest
@@ -57,4 +57,4 @@ jobs:
5757
run: npx nypm@latest i
5858

5959
- name: Test
60-
run: npm run test
60+
run: pnpm test

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: npx nypm@latest i
4040

4141
- name: Validate package
42-
run: npm run validate
42+
run: pnpm validate
4343

4444
publish:
4545
runs-on: ubuntu-latest
@@ -62,10 +62,10 @@ jobs:
6262
run: npx nypm@latest i
6363

6464
- name: Build
65-
run: npm run prepack
65+
run: pnpm prepack
6666

6767
- name: Generate changelog and publish release
6868
run: |
6969
git config --global user.name "${{ env.changelog_user }}"
7070
git config --global user.email "${{ env.changelog_email }}"
71-
npm run changelogen --release --push --publish
71+
pnpm changelogen --release --push --publish

0 commit comments

Comments
 (0)