Skip to content

Commit

Permalink
test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
reececomo committed Apr 27, 2024
1 parent 503ebe4 commit 2cc1f8e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "eslint"
name: "lint"

on:
push:
Expand All @@ -13,16 +13,10 @@ on:
jobs:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20.x
- run: npm install
- run: npm run lint
22 changes: 9 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "tests"
name: "test"

on:
push:
Expand All @@ -15,23 +15,19 @@ on:
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
pixi-version: [6.1.0, 7.2.0, 8.1.0]
pixijs-package:
- [email protected]
- [email protected]
- [email protected]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

node-version: 20.x
- run: npm install

- name: Use pixi.js@${{ matrix.node-version }}
run: npm install pixi-js@${{ matrix.pixi-version}}

- name: Use ${{ matrix.pixijs-package }}
run: npm install ${{ matrix.pixijs-package }}
- run: npm run test

0 comments on commit 2cc1f8e

Please sign in to comment.