File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 29
29
- name : Build the project
30
30
run : npm run build
31
31
32
+ - name : Log in to npm
33
+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
34
+
32
35
- name : Publish to npm
33
36
if : startsWith(github.ref, 'refs/tags/')
34
- env :
35
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
36
37
run : npm publish --access public
Original file line number Diff line number Diff line change 7
7
" shader" ,
8
8
" component"
9
9
],
10
- "version" : " 1.0.1 " ,
10
+ "version" : " 1.0.2 " ,
11
11
"main" : " dist/core/index.js" ,
12
12
"module" : " dist/core/index.esm.js" ,
13
13
"publishConfig" : {
14
14
"registry" : " https://www.npmjs.com/package/simple-shader-component"
15
15
},
16
- "repository" : " https://github.com/svey-xyz/simple-shader-component" ,
16
+ "repository" : {
17
+ "type" : " git" ,
18
+ "url" : " git+https://github.com/svey-xyz/simple-shader-component.git"
19
+ },
17
20
"files" : [
18
21
" dist/" ,
19
22
" README.md" ,
You can’t perform that action at this time.
0 commit comments