Publish to npm using a GitHub action (#9588)

This commit is contained in:
Nicolò Ribaudo
2019-03-19 18:59:35 +01:00
committed by GitHub
parent 60005b35e4
commit f2ee84b6a3
5 changed files with 59 additions and 14 deletions

View File

@@ -127,11 +127,12 @@ prepublish-build:
make clone-license
prepublish:
git pull --rebase
make bootstrap-only
make prepublish-build
make test
new-version:
git pull --rebase
./node_modules/.bin/lerna version --force-publish="@babel/runtime,@babel/runtime-corejs2,@babel/standalone,@babel/preset-env-standalone"
# NOTE: Run make new-version first
@@ -139,9 +140,11 @@ publish: prepublish
./node_modules/.bin/lerna publish from-git --require-scripts
make clean
bootstrap: clean-all
bootstrap-only: clean-all
yarn --ignore-engines
./node_modules/.bin/lerna bootstrap -- --ignore-engines
bootstrap: bootstrap-only
make build
cd packages/babel-plugin-transform-runtime; \
node scripts/build-dist.js