Skip to content

Commit 38d5926

Browse files
authored
Merge pull request #14 from gabrielbarth/sdx
chore: add github packages publish settings on workflow
2 parents a2c961f + edf84bb commit 38d5926

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
3838

39-
# - name: Configure npm authentication for GitHub Packages
40-
# run: |
41-
# echo "@OWNER:registry=https://npm.pkg.github.com" >> ~/.npmrc
42-
# echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
43-
# env:
44-
# OWNER: ${{ github.repository_owner }}
45-
46-
# - name: Publish to GitHub Packages
47-
# run: npm publish --registry https://npm.pkg.github.com/
39+
- name: Configure npm authentication for GitHub Packages
40+
run: |
41+
echo "@OWNER:registry=https://npm.pkg.github.com" >> ~/.npmrc
42+
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
43+
env:
44+
OWNER: ${{ github.repository_owner }}
45+
46+
- name: Publish to GitHub Packages
47+
run: npm publish --registry https://npm.pkg.github.com/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "analytics-event-factory",
33
"description": "Analytics Event Factory",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [

0 commit comments

Comments
 (0)