You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monaco-editor/.github/workflows/ci.yml

50 lines
1.2 KiB
YAML

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: Typings validation prep
run: |
mkdir typings-test
- name: Typings validation
working-directory: ./typings-test
run: |
yarn init -yp
yarn add typescript
yarn tsc --init
echo "import '../vscode/out-monaco-editor-core';" > a.ts
yarn tsc --noEmit
- 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