mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
refactor(ci): add release command (#4348)
This commit is contained in:
parent
5dd37d19df
commit
557fdb298e
@ -117,7 +117,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
yarn lerna version --exact
|
yarn release
|
||||||
PACKAGE_SUFFIX=edge yarn build
|
PACKAGE_SUFFIX=edge yarn build
|
||||||
./scripts/workspace-run npm publish
|
./scripts/workspace-run npm publish
|
||||||
|
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
"test:e2e": "jest -i test/e2e",
|
"test:e2e": "jest -i test/e2e",
|
||||||
"test:lint": "yarn lint",
|
"test:lint": "yarn lint",
|
||||||
"test:unit": "jest test/unit",
|
"test:unit": "jest test/unit",
|
||||||
"postinstall": "lerna link && yarn dev"
|
"postinstall": "lerna link && yarn dev",
|
||||||
|
"release": "lerna version --exact"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.1.6",
|
"@babel/core": "^7.1.6",
|
||||||
|
Loading…
Reference in New Issue
Block a user