Skip to content

Commit 1e31f58

Browse files
committed
yarn
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 5a860d7 commit 1e31f58

File tree

7 files changed

+3726
-2856
lines changed

7 files changed

+3726
-2856
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
- run: corepack enable
2323

24-
- run: pnpm install --frozen-lockfile
24+
- run: yarn install --immutable
2525

26-
- run: pnpm format:check
26+
- run: yarn format:check
2727

28-
- run: pnpm build
28+
- run: yarn build
2929

30-
- run: pnpm test
30+
- run: yarn test

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ jobs:
2424
with:
2525
node-version: 22
2626
check-latest: true
27-
registry-url: https://registry.npmjs.org
2827

2928
- run: corepack enable
3029

31-
- run: pnpm install --frozen-lockfile
30+
- run: yarn install --immutable
3231

33-
- run: pnpm publish --no-git-checks
32+
- run: yarn npm publish --tolerate-republish
3433
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
34+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
/.yarn/
12
/dist/
23
/node_modules/

.yarnrc.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defaultSemverRangePrefix: ""
2+
3+
nodeLinker: pnpm
4+
5+
npmRegistries:
6+
//registry.npmjs.org:
7+
npmAuthToken: "${NPM_TOKEN:-''}"
8+
9+
preferInteractive: true

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,12 @@
7373
"tsup": "8.2.4",
7474
"vitest": "2.0.5"
7575
},
76-
"packageManager": "[email protected].0",
76+
"packageManager": "[email protected].0",
7777
"engines": {
7878
"node": ">=18.0.0"
7979
},
8080
"publishConfig": {
8181
"access": "public",
82-
"provenance": true,
8382
"registry": "https://registry.npmjs.org"
8483
}
8584
}

0 commit comments

Comments
 (0)