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 fefd098 commit 41b14bdCopy full SHA for 41b14bd
1 file changed
.github/workflows/publish.yml
@@ -1,7 +1,9 @@
1
name: Publish Package to npmjs
2
on:
3
- release:
4
- types: [published]
+ push:
+ tags:
5
+ - '**[0-9]+.[0-9]+.[0-9]+*'
6
+
7
jobs:
8
build:
9
runs-on: ubuntu-latest
@@ -22,11 +24,12 @@ jobs:
22
24
with:
23
25
node-version: '20.x'
26
cache: 'pnpm'
27
+ registry-url: 'https://registry.npmjs.org/'
28
+ scope: '@pomsky-lang'
29
30
- run: pnpm install
31
- - run: |
- pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- pnpm publish --access public --no-git-checks
32
+ - run: pnpm publish --access public --no-git-checks
33
env:
34
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35
NPM_CONFIG_PROVENANCE: true
0 commit comments