Skip to content

Commit 7020cec

Browse files
committed
fix: updated tags and pipeline
1 parent 01a5abe commit 7020cec

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'main'
77
- '**'
88
tags:
9-
- '*'
9+
- 'v*'
1010

1111
jobs:
1212
test:
@@ -55,6 +55,7 @@ jobs:
5555
if: success() && startsWith(github.ref, 'refs/tags/')
5656
permissions:
5757
id-token: write
58+
contents: read
5859
steps:
5960
- name: Checkout code
6061
uses: actions/checkout@v4
@@ -72,6 +73,9 @@ jobs:
7273
cache: 'pnpm'
7374
registry-url: 'https://registry.npmjs.org'
7475

76+
- name: Update npm (required for provenance)
77+
run: npm install -g npm@latest
78+
7579
- name: Install dependencies using pnpm
7680
run: pnpm install --frozen-lockfile
7781

0 commit comments

Comments
 (0)