Skip to content

Commit 1ce13df

Browse files
committed
fix: release
1 parent 589d257 commit 1ce13df

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
# https://github.com/pnpm/pnpm/issues/3141
4343
registry-url: 'https://registry.npmjs.org'
4444
- run: pnpm install --frozen-lockfile
45+
- run: pnpm build
4546
# Do not store semantic release dependencies in package.json to avoid lower node versions from failing tests
4647
- run: pnpm install -w @semantic-release/changelog @semantic-release/git semantic-release
47-
- run: pnpm dlx semantic-release --branches main
48+
- run: npx semantic-release
4849
env:
4950
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5051
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
52+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"license": "MIT",
1010
"private": true,
1111
"scripts": {
12+
"build": "pnpm -r build",
1213
"build-site": "netlify build --filter demo",
1314
"format": "pnpm -r format",
1415
"lint": "pnpm -r lint",

0 commit comments

Comments
 (0)