Skip to content

Commit 6025291

Browse files
chore: update release action
1 parent 118c384 commit 6025291

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,20 @@ jobs:
1010
release:
1111
name: Release
1212
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
deno: ["1.x"]
16-
node: ["18"]
1713
steps:
1814
- name: Checkout Repo
1915
uses: actions/checkout@v3
2016
- uses: denoland/setup-deno@v1
2117
with:
22-
deno-version: ${{ matrix.deno }}
18+
deno-version: "1.x"
2319
- name: Get tag version
2420
if: startsWith(github.ref, 'refs/tags/')
2521
id: get_tag_version
2622
run: echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
2723
- uses: actions/setup-node@v3
2824
with:
29-
node-version: ${{ matrix.node }}
25+
node-version: "18"
26+
registry-url: 'https://registry.npmjs.org'
3027
- uses: pnpm/action-setup@v2
3128
with:
3229
version: latest
@@ -36,4 +33,4 @@ jobs:
3633
if: startsWith(github.ref, 'refs/tags/')
3734
env:
3835
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
39-
run: cd npm && npm publish
36+
run: cd npm && npm publish --provenance

0 commit comments

Comments
 (0)