sets up github build action.
This commit is contained in:
23
.github/workflows/ci.yml
vendored
Normal file
23
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.x
|
||||
- run: yarn install
|
||||
- run: yarn build
|
||||
@@ -6,7 +6,13 @@
|
||||
"./simple-demo",
|
||||
"./playground"
|
||||
],
|
||||
"scripts": {},
|
||||
"scripts": {
|
||||
"build": "yarn build-core && yarn build-bundle && yarn build-playground && yarn build-simple-demo",
|
||||
"build-core": "yarn workspace @hediet/visualization-core run build",
|
||||
"build-bundle": "yarn workspace @hediet/visualization-bundle run build",
|
||||
"build-playground": "yarn workspace playground run build",
|
||||
"build-simple-demo": "yarn workspace simple-demo run build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^1.19.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user