Skip to content

Commit f8632c4

Browse files
committed
fix: run semantic release from local installation
1 parent 14d02ca commit f8632c4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ jobs:
1919
with:
2020
node-version: "lts/*"
2121
registry-url: 'https://registry.npmjs.org'
22-
always-auth: true
2322
- name: Install package dependencies
2423
run: yarn install
2524
- name: Build package
2625
run: yarn run build
27-
- name: Install semantic release extras
28-
run: yarn add -D @semantic-release/changelog @semantic-release/git conventional-changelog-conventionalcommits
26+
- name: Install semantic release
27+
run: yarn add -D semantic-release @semantic-release/changelog @semantic-release/git conventional-changelog-conventionalcommits
2928
- name: Semantic Release
30-
id: semantic
31-
uses: cycjimmy/semantic-release-action@v3
29+
run: npx semantic-release
3230
env:
3331
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)