File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js : [node, lts/*]
3- cache :
4- npm : true
53script :
6- - npx pover install
7- - npx pover build:dev
8- - npx pover build:prod
9- - npx pover test
4+ - curl https://gist.githubusercontent.com/Jaid/284917bd3e938add97b699a18b957d8c/raw/ciNode.bash | bash
105jobs :
116 include :
127 - stage : Deploy
13- before_deploy :
14- - npm run build:prod
15- - npx compile-release
8+ if : tag IS present
9+ node_js : node
10+ script :
11+ - curl https://gist.githubusercontent.com/Jaid/284917bd3e938add97b699a18b957d8c/raw/ciNodeRelease.bash | bash
1612 deploy :
1713 - provider : pages
18- local_dir : page
14+ local_dir : dist/ page
1915 fqdn : $PKG_NAME.jaid.codes
2016 skip_cleanup : true
21- github_token : $GITHUB_TOKEN # Permissions: public_repo, repo:status, repo_deployment
22- on : { condition: -d pages }
17+ github_token : $GITHUB_TOKEN
18+ on :
19+ tags : true
20+ condition : " -f ~/deployPage"
2321 - provider : releases
2422 file_glob : true
2523 file : dist/github/*
2624 skip_cleanup : true
27- api_key : $GITHUB_TOKEN # Permissions: public_repo, repo:status, repo_deployment
28- on : { tags: true }
25+ api_key : $GITHUB_TOKEN
26+ on :
27+ tags : true
28+ condition : " -f ~/deployReleases"
2929 - provider : script
3030 script : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc && npm publish dist/package/production
3131 skip_cleanup : true
32- on : { tags: true }
32+ on :
33+ tags : true
34+ condition : " -f ~/deployNpm"
You can’t perform that action at this time.
0 commit comments