Skip to content

Commit

Permalink
Runs tests aginast node 18 and 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed May 3, 2024
1 parent 370662d commit 5785119
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- '*' # This will make sure all push events on any branch triggers this workflow.

env:
NODE_VERSION: 20.x
ADMIN_KEY: testAdminKey
DOCKER_API_SRC_PORT: 4001
DOCKER_API_DST_PORT: 4002
Expand All @@ -22,15 +21,18 @@ env:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- run: echo "Triggered by ${{ github.event_name }} event."
- name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
uses: actions/checkout@v3

- name: Set up Node.js ${{ env.NODE_VERSION }}
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Installing dependencies
Expand Down

0 comments on commit 5785119

Please sign in to comment.