mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Add an 'Update LKG' action (#39897)
This commit is contained in:
parent
d985e68ffa
commit
817dc52fd3
35
.github/workflows/blank.yml
vendored
Normal file
35
.github/workflows/blank.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: Update LKG
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branchName:
|
||||
description: "The name of the branch you'd like to update the Last Known Good (LKG) version of the compiler on."
|
||||
required: true
|
||||
default: "master"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.inputs.branchName }}
|
||||
- name: Use node version 12
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
registry-url: https://registry.npmjs.org/
|
||||
|
||||
- name: Configure Git and Update LKG
|
||||
run: |
|
||||
git config user.email "ts_bot@rcavanaugh.com"
|
||||
git config user.name "TypeScript Bot"
|
||||
npm install
|
||||
gulp LKG
|
||||
npm test
|
||||
git diff
|
||||
git add ./lib
|
||||
git commit -m "Update LKG"
|
||||
git push
|
||||
Loading…
x
Reference in New Issue
Block a user