-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.04 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: build
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
#: Run the test every week
schedule:
- cron: "0 12 * * 1"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies [Svelte]
run: cd svelte-ts && npm install
- name: Build [Svelte]
run: cd svelte-ts && npm run build && npm run build:notebook
- name: Install dependencies [Vanilla]
run: cd vanilla-js && npm install
- name: Build Notebook [Vanilla]
run: cd vanilla-js && npm run build:notebook
- name: Install dependencies [React]
run: cd react-js && npm install
- name: Build Notebook [React]
run: cd react-js && npm run build