TypeScript/.github/workflows/update-lkg.yml
2020-08-19 18:01:29 -07:00

29 lines
587 B
YAML

name: Update LKG
on:
workflow_dispatch: {}
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
registry-url: https://registry.npmjs.org/
- name: Configure Git and Update LKG
run: |
git config user.email "typescriptbot@microsoft.com"
git config user.name "TypeScript Bot"
npm ci
gulp LKG
npm test
git diff
git add ./lib
git commit -m "Update LKG"
git push