Skip to content

Commit 099d0e4

Browse files
committed
chore: fix bad branch name on action
1 parent 275968a commit 099d0e4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ on:
22
push:
33
branches:
44
- current
5+
56
name: publish
7+
8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
612
jobs:
7-
release-please:
13+
publish:
814
if: >
915
github.event.head_commit.author.username == 'github-actions[bot]' && github.event.head_commit.author.email == '41898282+github-actions[bot]@users.noreply.github.com'
1016
runs-on: ubuntu-latest
@@ -14,5 +20,6 @@ jobs:
1420
with:
1521
node-version: 24
1622
registry-url: 'https://registry.npmjs.org'
23+
- run: npm install -g npm@latest
1724
- run: npm install
1825
- run: npm publish --access public

0 commit comments

Comments
 (0)