Skip to content

Commit ec07aae

Browse files
committed
fix: use create-release
The npm-publish workflow was old and unused.
1 parent 519c26d commit ec07aae

File tree

2 files changed

+3
-32
lines changed

2 files changed

+3
-32
lines changed

.github/workflows/create-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- main
66

77
permissions:
8-
contents: read
8+
contents: read
99

1010
jobs:
1111
release:
@@ -23,12 +23,13 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v3
2525
with:
26-
node-version: "lts/*"
26+
node-version: 'lts/*'
2727
- name: Install dependencies
2828
run: npm clean-install
2929
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
3030
run: npm audit signatures
3131
- name: Release
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NPM_TOKEN: ${{secrets.npm_token}}
3435
run: npx semantic-release

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)