-
Notifications
You must be signed in to change notification settings - Fork 56
39 lines (36 loc) · 1007 Bytes
/
legacy.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 and Test Legacy App
on:
push:
paths-ignore:
- plugins-structure/**
pull_request:
paths-ignore:
- plugins-structure/**
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 19.x]
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0
- name: Use nodejs ${{ matrix.node-version }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 #v3.5.1
with:
node-version: ${{ matrix.node-version }}
- name: xvfb run
run: |
export DISPLAY=:99.0
Xvfb :99.0 -screen 0 1024x768x24 -ac +extension GLX +render -noreset &
- name: yarn install
run: yarn install --network-concurrency 1
- name: linter checks
run: yarn lint
- name: pretty diff
run: yarn prettify:diff
- name: tests
run: yarn test
env:
CI: true
- name: build
run: yarn build