File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : nuxt2-nightly
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *'
6
+
7
+ jobs :
8
+ nightly :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ with :
13
+ ref : ' refs/heads/2.x'
14
+ fetch-depth : 0 # All history
15
+ - name : fetch tags
16
+ run : git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"
17
+ - uses : actions/setup-node@v3
18
+ with :
19
+ node-version : 14
20
+ registry-url : ' https://registry.npmjs.org'
21
+ - name : install
22
+ run : yarn --check-files --frozen-lockfile --non-interactive
23
+ - name : lint
24
+ run : yarn test:lint
25
+ - name : audit
26
+ run : yarn run audit
27
+ - name : build
28
+ run : yarn test:fixtures -i
29
+ env :
30
+ NODE_OPTIONS : " --max_old_space_size=4096"
31
+ - name : lint app
32
+ run : yarn lint:app
33
+ - name : test types
34
+ run : yarn test:types
35
+ - name : test dev
36
+ run : yarn test:dev
37
+ - name : test unit
38
+ run : yarn test:unit
39
+ - name : test e2e
40
+ run : yarn test:e2e
41
+ - name : bump version
42
+ run : yarn lerna version --yes --no-changelog --no-git-tag-version --no-push --force-publish "*" --loglevel verbose
43
+ - name : build
44
+ run : PACKAGE_SUFFIX=edge yarn build
45
+ - name : publish
46
+ run : ./scripts/workspace-run npm publish -q
47
+ env :
48
+ NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
49
+
You can’t perform that action at this time.
0 commit comments