From d95942b05fb6a030a71577f9bc774d4ecc9c79af Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Fri, 21 Feb 2020 10:35:44 -0800 Subject: [PATCH] Port nightly publish task to actions --- .github/workflows/nightly.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/nightly.yaml diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml new file mode 100644 index 00000000000..220f5d80160 --- /dev/null +++ b/.github/workflows/nightly.yaml @@ -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 + \ No newline at end of file