Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

Commit

Permalink
chore: check GH_TOKEN is set in publish commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dphang committed Sep 30, 2020
1 parent 5287e36 commit c802fa4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"packages-install": "lerna exec -- yarn install --frozen-lockfile",
"packages-build": "lerna run build",
"test:watch": "yarn test --watch --collect-coverage=false",
"publish": "lerna publish --conventional-commits --exact --create-release github",
"prerelease": "lerna publish --conventional-commits --conventional-prerelease --exact --create-release github",
"graduate": "lerna publish --conventional-commits --conventional-graduate --exact --create-release github",
"check-gh-token": ": \"${GH_TOKEN:?Please set GH_TOKEN to a GitHub personal token that can create releases.}\"",
"publish": "yarn check-gh-token && lerna publish --conventional-commits --exact --create-release github",
"prerelease": "yarn check-gh-token && lerna publish --conventional-commits --conventional-prerelease --exact --create-release github",
"graduate": "yarn check-gh-token && lerna publish --conventional-commits --conventional-graduate --exact --create-release github",
"lint": "eslint .",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"integration": "jest --runInBand --config jest.integration.config.json --setupTestFrameworkScriptFile=./jest.integration.setup.js",
Expand Down

0 comments on commit c802fa4

Please sign in to comment.