-
Notifications
You must be signed in to change notification settings - Fork 497
33 lines (30 loc) · 824 Bytes
/
CI.yml
File metadata and controls
33 lines (30 loc) · 824 Bytes
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
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run build
working-directory: ./packages/jsondiffpatch
- run: npm run build
working-directory: ./packages/diff-mcp
- run: npm run lint
- run: npm run type-check
- run: npm run test
working-directory: ./packages/jsondiffpatch
- run: npm run start
working-directory: ./demos/console-demo
- run: npm run build
working-directory: ./demos/html-demo
- run: npm run start
working-directory: ./demos/numeric-plugin-demo