Skip to content

Commit

Permalink
login
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Dec 2, 2019
1 parent 6d5de02 commit 604f90b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
(cd core && npm i && npm publish)
(cd cli && npm i && npm publish)
if: github.ref == 'master'
Expand All @@ -68,6 +69,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
PACKAGE_VERSION=$(node -p -e "require('./core/package.json').version")
CURRENT_TIME=$(date +%s)
NEW_VERSION=${PACKAGE_VERSION}-build${CURRENT_TIME}
Expand Down

0 comments on commit 604f90b

Please sign in to comment.