Skip to content

Commit 979dafd

Browse files
committed
Switch to pnpm.
Plug and play this plug and play that, how about you go play outside for a bit?
1 parent 2d6a07d commit 979dafd

33 files changed

+4380
-20368
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
- uses: actions/checkout@v5
1212
- uses: actions/setup-node@v6
1313
with:
14-
cache: "yarn"
14+
cache: "pnpm"
1515
- name: Compile
1616
run: |
17-
yarn
18-
yarn run compile
17+
pnpm install
18+
pnpm run compile
1919
test:
2020
needs:
2121
- compile
@@ -25,11 +25,11 @@ jobs:
2525
- uses: actions/checkout@v5
2626
- uses: actions/setup-node@v6
2727
with:
28-
cache: "yarn"
28+
cache: "pnpm"
2929
- name: Test
3030
run: |
31-
yarn
32-
yarn run test
31+
pnpm install
32+
pnpm run test
3333
publish:
3434
if: startsWith(github.ref, 'refs/tags/')
3535
needs:
@@ -44,11 +44,11 @@ jobs:
4444
- uses: actions/checkout@v5
4545
- uses: actions/setup-node@v6
4646
with:
47-
cache: yarn
47+
cache: pnpm
4848
registry-url: "https://registry.npmjs.org"
4949
- name: Compile
5050
run: |
51-
yarn
52-
yarn run compile
51+
pnpm install
52+
pnpm run compile
5353
- name: Publish
5454
run: npm publish --access public

.github/workflows/style.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
- uses: actions/checkout@v5
1212
- uses: actions/setup-node@v6
1313
with:
14-
cache: "yarn"
14+
cache: "pnpm"
1515
- name: Run prettier
1616
run: |
17-
yarn
18-
yarn run format
17+
pnpm install
18+
pnpm run format
1919
lint:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- run: corepack enable
2323
- uses: actions/checkout@v5
2424
- uses: actions/setup-node@v6
2525
with:
26-
cache: "yarn"
26+
cache: "pnpm"
2727
- name: Run eslint
2828
run: |
29-
yarn
30-
yarn run lint
29+
pnpm install
30+
pnpm run lint

.gitignore

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
.yarn/*
2-
!.yarn/cache
3-
!.yarn/patches
4-
!.yarn/plugins
5-
!.yarn/releases
6-
!.yarn/sdks
7-
!.yarn/versions
8-
1+
node_modules
92
dist
3+
4+
.nyc_output
5+
coverage

0 commit comments

Comments
 (0)