We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe1041 commit c8c09e2Copy full SHA for c8c09e2
1 file changed
.github/workflows/publish.yml
@@ -18,7 +18,7 @@ jobs:
18
- name: Checkout
19
uses: actions/checkout@v4.1.6
20
with:
21
- ref: main
+ ref: ${{ github.ref }}
22
23
- name: Install pnpm
24
uses: pnpm/action-setup@v4.0.0
@@ -32,16 +32,16 @@ jobs:
32
33
- name: Install deps
34
run: pnpm install --ignore-scripts --frozen-lockfile
35
-
+
36
- name: Update npm
37
# npm version npm 11.5.1 or later needed for Trusted Publishing
38
run: npm install -g npm@latest
39
40
- name: Verify package version and get npm tag
41
id: get_npm_tag
42
run: |
43
- TAG=$(pnpm run ci-verify-publish ${{ github.ref_name }} | tail -n 1)
44
- echo "npm_tag=$TAG" >> $GITHUB_OUTPUT
+ TAG=$(pnpm run ci-verify-publish ${{ github.ref_name }} | tail -n 1)
+ echo "npm_tag=$TAG" >> $GITHUB_OUTPUT
45
46
- name: Publish
47
0 commit comments