mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
chore: prepare next branch for edge release
This commit is contained in:
parent
07906d0b9d
commit
c734f9a210
42
.github/workflows/nightly.yml
vendored
42
.github/workflows/nightly.yml
vendored
@ -9,6 +9,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
ref: 'refs/heads/dev'
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
@ -40,3 +42,43 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
|
||||||
|
|
||||||
|
# Anchors still not supported :(
|
||||||
|
# https://github.community/t5/GitHub-Actions/Support-for-YAML-anchors/td-p/30336
|
||||||
|
nightly-next:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
ref: 'refs/heads/next'
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
- name: install
|
||||||
|
run: yarn --check-files --frozen-lockfile --non-interactive
|
||||||
|
- name: lint
|
||||||
|
run: yarn test:lint
|
||||||
|
- name: audit
|
||||||
|
run: yarn run audit
|
||||||
|
- name: build
|
||||||
|
run: yarn test:fixtures -i
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
- name: lint app
|
||||||
|
run: yarn lint:app
|
||||||
|
- name: test dev
|
||||||
|
run: yarn test:dev -w=2
|
||||||
|
- name: test unit
|
||||||
|
run: yarn test:unit
|
||||||
|
- name: test e2e
|
||||||
|
run: yarn test:e2e
|
||||||
|
- name: bump version
|
||||||
|
run: yarn lerna version --yes --no-git-tag-version --no-push
|
||||||
|
- 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}}
|
||||||
|
|
||||||
|
|
||||||
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -295,7 +295,7 @@ jobs:
|
|||||||
- name: publish
|
- name: publish
|
||||||
run: |
|
run: |
|
||||||
if [ "$ref" = "refs/heads/next" ]; then tag="--tag next"; fi
|
if [ "$ref" = "refs/heads/next" ]; then tag="--tag next"; fi
|
||||||
./scripts/workspace-run npm publish -q
|
./scripts/workspace-run npm publish $tag -q
|
||||||
env:
|
env:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"@nuxtjs"
|
"@nuxtjs"
|
||||||
],
|
],
|
||||||
"baseBranches": [
|
"baseBranches": [
|
||||||
"dev"
|
"dev",
|
||||||
|
"next"
|
||||||
],
|
],
|
||||||
"ignoreDeps": [
|
"ignoreDeps": [
|
||||||
"core-js",
|
"core-js",
|
||||||
|
Loading…
Reference in New Issue
Block a user