Port nightly publish task to actions

This commit is contained in:
Wesley Wigham 2020-02-21 10:35:44 -08:00
parent a5061eff19
commit d95942b05f
No known key found for this signature in database
GPG Key ID: D59F87F60C5400C9

29
.github/workflows/nightly.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Publish Nightly
on:
schedule:
- cron: '0 23 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use node version 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: Setup and publish nightly
run: |
npm whoami
npm i
gulp configure-nightly
gulp LKG
gulp runtests-parallel
gulp clean
npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
CI: true