-
-
Notifications
You must be signed in to change notification settings - Fork 10
41 lines (41 loc) · 1003 Bytes
/
tests.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
name: Tests
on:
push:
branches-ignore: [master]
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
env:
OPENRCT2_DIR: OpenRCT2
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn --immutable --immutable-cache
- run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn --immutable --immutable-cache
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn test --ci
types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn --immutable --immutable-cache
- run: yarn types
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn --immutable --immutable-cache
- run: yarn style
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: yarn --immutable --immutable-cache
- run: yarn lint