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 4ebf646 commit 33a2a22Copy full SHA for 33a2a22
1 file changed
.github/workflows/npm.yml
@@ -2,9 +2,6 @@ name: Publish to NPM
2
on:
3
release:
4
types: [published]
5
- # Add push on PR for testing purposes
6
- pull_request:
7
- branches: [main]
8
permissions:
9
contents: read
10
id-token: write
@@ -29,8 +26,6 @@ jobs:
29
26
30
27
- name: Check if pre-release and publish to NPM
31
28
run: |
32
- unset NODE_AUTH_TOKEN
33
- unset NPM_TOKEN
34
VERSION=$(node -p "require('./package.json').version")
35
if [[ "$VERSION" == *"-"* ]]; then
36
echo "Publishing pre-release: $VERSION"
0 commit comments