File tree Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@master
12
+ with :
13
+ ref : ' refs/heads/dev'
12
14
- uses : actions/setup-node@v1
13
15
with :
14
16
node-version : 12
40
42
env :
41
43
NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
42
44
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
+
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ jobs:
295
295
- name : publish
296
296
run : |
297
297
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
299
299
env :
300
300
ref : ${{ github.ref }}
301
301
NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
Original file line number Diff line number Diff line change 3
3
" @nuxtjs"
4
4
],
5
5
"baseBranches" : [
6
- " dev"
6
+ " dev" ,
7
+ " next"
7
8
],
8
9
"ignoreDeps" : [
9
10
" core-js" ,
You can’t perform that action at this time.
0 commit comments