-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (27 loc) · 916 Bytes
/
ci.yaml
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
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "18.14.0"
- name: Install modules
run: yarn install
- name: Run lint for the client
run: yarn workspace ogre-client lint
- name: Run prettier for the client
run: yarn workspace ogre-client prettier:check
- name: Run type-check for the client
run: yarn workspace ogre-client check-type
- name: Run tests for the client
run: yarn workspace ogre-client test:no-watch
- name: Run lint for the server
run: yarn workspace ogre-server lint
- name: Run prettier for the server
run: yarn workspace ogre-server prettier:check
- name: Run type-check for the server
run: yarn workspace ogre-server check-type