Skip to content

Commit e8c344b

Browse files
committed
works?
1 parent c7dd2bc commit e8c344b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,33 @@ env:
77
CI: true
88
PNPM_CACHE_FOLDER: .pnpm-store
99
jobs:
10-
version:
10+
release:
11+
name: Publish packages
1112
timeout-minutes: 15
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: checkout code repository
1516
uses: actions/checkout@v4
1617
with:
1718
fetch-depth: 0
19+
1820
- name: setup node.js
1921
uses: actions/setup-node@v4
2022
with:
2123
node-version: 20
24+
2225
- name: install pnpm
2326
run: npm i pnpm@latest -g
27+
2428
- name: Setup npmrc
2529
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
30+
2631
- name: setup pnpm config
2732
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
33+
2834
- name: install dependencies
2935
run: pnpm install --no-frozen-lockfile
36+
3037
- name: create and publish versions
3138
uses: changesets/action@v1
3239
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"scripts": {
1010
"build": "turbo run build",
11-
"ci:publish": "pnpm publish --no-git-checks",
11+
"ci:publish": "pnpm publish --no-git-checks -r",
1212
"dev": "turbo run dev --parallel --no-cache",
1313
"prepublish": "pnpm build",
1414
"release": "pnpm changeset && pnpm changeset version",

0 commit comments

Comments
 (0)