Skip to content

Commit c734f9a

Browse files
author
pooya parsa
committed
chore: prepare next branch for edge release
1 parent 07906d0 commit c734f9a

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@master
12+
with:
13+
ref: 'refs/heads/dev'
1214
- uses: actions/setup-node@v1
1315
with:
1416
node-version: 12
@@ -40,3 +42,43 @@ jobs:
4042
env:
4143
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
4244

45+
# Anchors still not supported :(
46+
# https://github.community/t5/GitHub-Actions/Support-for-YAML-anchors/td-p/30336
47+
nightly-next:
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@master
51+
with:
52+
ref: 'refs/heads/next'
53+
- uses: actions/setup-node@v1
54+
with:
55+
node-version: 12
56+
registry-url: 'https://registry.npmjs.org'
57+
- name: install
58+
run: yarn --check-files --frozen-lockfile --non-interactive
59+
- name: lint
60+
run: yarn test:lint
61+
- name: audit
62+
run: yarn run audit
63+
- name: build
64+
run: yarn test:fixtures -i
65+
env:
66+
NODE_OPTIONS: "--max_old_space_size=4096"
67+
- name: lint app
68+
run: yarn lint:app
69+
- name: test dev
70+
run: yarn test:dev -w=2
71+
- name: test unit
72+
run: yarn test:unit
73+
- name: test e2e
74+
run: yarn test:e2e
75+
- name: bump version
76+
run: yarn lerna version --yes --no-git-tag-version --no-push
77+
- name: build
78+
run: PACKAGE_SUFFIX=edge yarn build
79+
- name: publish
80+
run: ./scripts/workspace-run npm publish --tag next -q
81+
env:
82+
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
83+
84+

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ jobs:
295295
- name: publish
296296
run: |
297297
if [ "$ref" = "refs/heads/next" ]; then tag="--tag next"; fi
298-
./scripts/workspace-run npm publish -q
298+
./scripts/workspace-run npm publish $tag -q
299299
env:
300300
ref: ${{ github.ref }}
301301
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"@nuxtjs"
44
],
55
"baseBranches": [
6-
"dev"
6+
"dev",
7+
"next"
78
],
89
"ignoreDeps": [
910
"core-js",

0 commit comments

Comments
 (0)