Skip to content

Commit b47072f

Browse files
committed
ci: add release-please
1 parent d89d593 commit b47072f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: publish-on-tag
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
id-token: write
14+
steps:
15+
- uses: actions/checkout@v5
16+
- name: Publish
17+
env:
18+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
19+
TAG_NAME: ${{github.ref_name}}
20+
run: |
21+
npm config set registry 'https://wombat-dressing-room.appspot.com/'
22+
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
23+
npm publish --provenance --access public

0 commit comments

Comments
 (0)