Skip to content

Commit d95942b

Browse files
committed
Port nightly publish task to actions
1 parent a5061ef commit d95942b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/nightly.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish Nightly
2+
3+
on:
4+
schedule:
5+
- cron: '0 23 * * *'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Use node version 12
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
- name: Setup and publish nightly
18+
run: |
19+
npm whoami
20+
npm i
21+
gulp configure-nightly
22+
gulp LKG
23+
gulp runtests-parallel
24+
gulp clean
25+
npm publish --tag next
26+
env:
27+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
28+
CI: true
29+

0 commit comments

Comments
 (0)