File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 42
42
- name : Publish to npm
43
43
if : startsWith(github.ref, 'refs/tags/')
44
44
run : npm publish --access public
45
+
46
+ - name : Publish to GitHub Packages
47
+ if : startsWith(github.ref, 'refs/tags/')
48
+ env :
49
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
+ run : |
51
+ echo "@${{ github.repository_owner }}:registry=https://npm.pkg.github.com" >> ~/.npmrc
52
+ npm publish --registry=https://npm.pkg.github.com
45
53
46
54
- name : Upload Build Artifacts
47
55
uses : actions/upload-release-asset@v1
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " simple-shader-component" ,
2
+ "name" : " @svey-xyz/ simple-shader-component" ,
3
3
"author" : " svey" ,
4
4
"description" : " Zero dependency shader component" ,
5
5
"keywords" : [
You can’t perform that action at this time.
0 commit comments