mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Port nightly publish task to actions
This commit is contained in:
parent
a5061eff19
commit
d95942b05f
29
.github/workflows/nightly.yaml
vendored
Normal file
29
.github/workflows/nightly.yaml
vendored
Normal 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user