ci: nightly trap

Something goes wrong bumping latest to 3.x only on nighly: https://github.com/nuxt/nuxt.js/runs/478475580?check_suite_focus=true
This commit is contained in:
pooya parsa 2020-03-02 20:45:13 +01:00
parent 2c4327b867
commit 23f3b0b40c

View File

@ -35,13 +35,13 @@ jobs:
- name: test e2e
run: yarn test:e2e
- name: bump version
run: yarn lerna version --yes --no-git-tag-version --no-push
run: yarn lerna version --yes --no-changelog --no-git-tag-version --no-push --force-publish "*" --loglevel verbose
- name: build
run: PACKAGE_SUFFIX=edge yarn build
- name: publish
run: ./scripts/workspace-run npm publish -q
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
# - name: publish
# run: ./scripts/workspace-run npm publish -q
# env:
# NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
# Anchors still not supported :(
# https://github.community/t5/GitHub-Actions/Support-for-YAML-anchors/td-p/30336
@ -75,12 +75,12 @@ jobs:
- name: test e2e
run: yarn test:e2e
- name: bump version
run: yarn lerna version --yes --no-git-tag-version --no-push
run: yarn lerna version --yes --no-changelog --no-git-tag-version --no-push --force-publish "*" --loglevel verbose
- name: build
run: PACKAGE_SUFFIX=edge yarn build
- name: publish
run: ./scripts/workspace-run npm publish --tag next -q
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
# - name: publish
# run: ./scripts/workspace-run npm publish --tag next -q
# env:
# NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}