Skip to content

Commit 4d5fec3

Browse files
Update publish.yml
1 parent f626ddb commit 4d5fec3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Publish
22

33
on:
4-
release:
5-
types: [published]
4+
pull_request:
5+
types: [opened, synchronize, reopened]
66

77
jobs:
8-
publish_npm:
8+
publish:
99
runs-on: ubuntu-latest
1010
timeout-minutes: 1
1111

@@ -24,7 +24,7 @@ jobs:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
run: |
2626
echo "@internxt:registry=https://npm.pkg.github.com/" > .npmrc
27-
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN >> .npmrc
27+
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc
2828
2929
- name: Publish package to github
3030
run: npm publish --scope=@internxt --access public

0 commit comments

Comments
 (0)