File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Package
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ permissions :
9
+ contents : read
10
+ packages : write
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ # Setup .npmrc file to publish to GitHub Packages
14
+ - uses : actions/setup-node@v2
15
+ with :
16
+ node-version : ' 14.x'
17
+ registry-url : ' https://npm.pkg.github.com'
18
+ # Defaults to the user or organization that owns the workflow file
19
+ scope : ' @spookfish-ai'
20
+ - run : yarn
21
+ - run : yarn publish
22
+ env :
23
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ //npm.pkg.github.com/:_authToken = ${ NODE_AUTH_TOKEN }
2
+ @spookfish-ai:registry = https://npm.pkg.github.com
3
+ always-auth = true
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @kenai /antd-css-resolver" ,
2
+ "name" : " @spookfish-ai /antd-css-resolver" ,
3
3
"version" : " 1.0.1" ,
4
4
"description" : " Dynamically generate ant.design styles from an api route" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
7
7
"private" : true ,
8
+ "publishConfig" : {
9
+ "registry" : " https://npm.pkg.github.com"
10
+ },
11
+ "repository" : {
12
+ "type" : " git" ,
13
+ "url" : " https://github.com/Spookfish-ai/antd-css-resolver.git"
14
+ },
8
15
"files" : [
9
16
" dist/index.js" ,
10
17
" dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments