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