File tree Expand file tree Collapse file tree 1 file changed +21
-16
lines changed Expand file tree Collapse file tree 1 file changed +21
-16
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
33 - 16
4+ - 18
5+
46branches :
57 only :
68 - dev
9+ - main
710script :
811 - ' npm run lint'
912 - ' npm run test'
1013 - ' npm run build'
1114
12- # deploy:
13- # on:
14- # branch: main
15- # provider: npm
16- # email: $NPM_EMAIL_ADDRESS
17- # api_key: $NPM_AUTH_TOKEN
15+ deploy :
16+ on :
17+ branch : main
18+ tags : true
19+ provider : npm
20+ email : $NPM_EMAIL_ADDRESS
21+ api_key : $NPM_AUTH_TOKEN
1822
19- jobs :
20- include :
21- - stage : npm release
22- script : echo "Deploying to npm ..."
23- deploy :
24- on :
25- branch : main
26- provider : npm
27- email : $NPM_EMAIL_ADDRESS
28- api_key : $NPM_API_KEY
23+ # optional speciying jobs to run
24+ # jobs:
25+ # include:
26+ # - stage: npm release
27+ # script: echo "Deploying to npm ..."
28+ # deploy:
29+ # on:
30+ # branch: main
31+ # provider: npm
32+ # email: $NPM_EMAIL_ADDRESS
33+ # api_key: $NPM_API_KEY
You can’t perform that action at this time.
0 commit comments