Skip to content

yarn #867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2024
Merged

yarn #867

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

- run: corepack enable

- run: pnpm install --frozen-lockfile
- run: yarn install --immutable

- run: pnpm format:check
- run: yarn format:check

- run: pnpm build
- run: yarn build

- run: pnpm test
- run: yarn test
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ jobs:
with:
node-version: 22
check-latest: true
registry-url: https://registry.npmjs.org

- run: corepack enable

- run: pnpm install --frozen-lockfile
- run: yarn install --immutable

- run: pnpm publish --no-git-checks
- run: yarn npm publish --tolerate-republish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.yarn/
/dist/
/node_modules/
9 changes: 9 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
defaultSemverRangePrefix: ""

nodeLinker: pnpm

npmRegistries:
//registry.npmjs.org:
npmAuthToken: "${NPM_TOKEN:-''}"

preferInteractive: true
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,12 @@
"tsup": "8.2.4",
"vitest": "2.0.5"
},
"packageManager": "[email protected].0",
"packageManager": "[email protected].0",
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org"
}
}
Loading