Skip to content

Commit

Permalink
chore: set multiple versions of nodejs in ci matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Nov 2, 2023
1 parent 1d9f489 commit df69bcd
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/test.yml
Expand Up @@ -15,34 +15,20 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["12.x", "18.x", "20.x"]
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Use Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '12.x'
- run: ./ci/initialize-ci.sh 3.2.24
- run: npm install
- run: npm test

build_v18:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: ${{ matrix.node-version }}
- run: ./ci/initialize-ci.sh 3.2.24
- run: npm install
- run: npm test
Expand Down

0 comments on commit df69bcd

Please sign in to comment.