1 parent 01a5abe commit 7020cecCopy full SHA for 7020cec
1 file changed
.github/workflows/npm-publish.yml
@@ -6,7 +6,7 @@ on:
6
- 'main'
7
- '**'
8
tags:
9
- - '*'
+ - 'v*'
10
11
jobs:
12
test:
@@ -55,6 +55,7 @@ jobs:
55
if: success() && startsWith(github.ref, 'refs/tags/')
56
permissions:
57
id-token: write
58
+ contents: read
59
steps:
60
- name: Checkout code
61
uses: actions/checkout@v4
@@ -72,6 +73,9 @@ jobs:
72
73
cache: 'pnpm'
74
registry-url: 'https://registry.npmjs.org'
75
76
+ - name: Update npm (required for provenance)
77
+ run: npm install -g npm@latest
78
+
79
- name: Install dependencies using pnpm
80
run: pnpm install --frozen-lockfile
81
0 commit comments