Skip to content

Commit 83be0f8

Browse files
committed
ci: update publish.yml and release.yml
1 parent 240729d commit 83be0f8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ run-name: Publish release of ${{ github.ref_name }}
44
on:
55
release:
66
types: [published]
7-
workflow_dispatch:
87

98
permissions:
109
id-token: write # Required for OIDC
@@ -31,6 +30,4 @@ jobs:
3130
run: npm ci
3231

3332
- name: Publish to npm
34-
run: npm publish --provenance --access public
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33+
run: npm publish

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name: Create Release
2-
32
run-name: Create release for ${{ github.ref_name }}
43

54
on:
65
push:
76
tags:
87
- 'v*'
98
- '[0-9]+.[0-9]+.[0-9]+'
10-
workflow_dispatch:
119

1210
permissions:
1311
contents: write

0 commit comments

Comments
 (0)