-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (47 loc) · 1.28 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: "tests"
on:
push:
branches: ["main"]
paths:
- "**/*.js"
- "**/*.ts"
pull_request:
branches: ["*"]
paths:
- "**/*.js"
- "**/*.ts"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# https://pixijs.com/versions
- label: v6.3
pixi-version: '6.3.2'
typescript-version: '4.9.5'
- label: v6.x
pixi-version: '6.x.x'
typescript-version: '4.9.5'
- label: v7.0
pixi-version: '7.0.0'
typescript-version: '4.9.5'
- label: v7.x
pixi-version: '7.x.x'
typescript-version: '5.4.5'
- label: v8.0
pixi-version: '8.0.0'
typescript-version: '5.4.5'
- label: v8.x
pixi-version: '8.x.x'
typescript-version: '5.4.5'
name: pixi.js ${{ matrix.label }} (@v${{ matrix.pixi-version }})
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
- run: npm install
- name: Install PixiJS v${{ matrix.pixi-version }}
run: npm install pixi.js@v${{ matrix.pixi-version }} typescript@v${{ matrix.typescript-version }}
- run: npm run test