CI testing for editor distro, webpack bundling and smoke test (#1675)

Bundle/Test with latest VS Code.
This commit is contained in:
Peng Lyu 2019-11-18 11:50:42 -08:00 committed by GitHub
parent 68d9e00fbe
commit 3d0dae8fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 3237 additions and 1 deletions

38
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,38 @@
name: Build
on:
push:
schedule:
- cron: '0 8 * * *'
jobs:
build:
name: Smoke Test
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Checkout VS Code
run: git clone --depth 1 https://github.com/microsoft/vscode vscode
- name: VS Code yarn & Editor Distro
working-directory: ./vscode
run: |
yarn
yarn gulp editor-distro
- name: NPM Install
run: npm install
- name: Webpack Bundle
run: |
npm run bundle
- name: Build Tests
run: |
npm run build-test
- name: Run Smoke Test
run: |
npm run ciserver &
sleep 10
npm run test