-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (33 loc) · 1.07 KB
/
pull-request.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
40
41
42
name: on-pull-request
on:
pull_request:
branches:
- master
jobs:
test:
name: Verify all tests pass and build success
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Use Node.js 💻
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install dependencies (apt)
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build bundles and tabs
run: yarn build --tsc --lint
- name: Test bundles and tabs
run: yarn test --color
- name: Test and lint scripts
run: yarn scripts:tsc && yarn scripts:lint && yarn scripts:test --color
- name: Check and Lint Devserver
run: yarn devserver:tsc && yarn devserver:lint