Skip to content

Commit

Permalink
Extend Node version test coverage (#1843)
Browse files Browse the repository at this point in the history
* Extend Node version test coverage

* Remove Node 16
  • Loading branch information
joshmgross authored Nov 8, 2024
1 parent 77f247b commit bb2278e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
strategy:
matrix:
runs-on: [ubuntu-latest, macos-latest-large, windows-latest]

# Node 18 is the current default Node version in hosted runners, so users may still use the toolkit with it when running tests (see https://github.com/actions/toolkit/issues/1841)
# Node 20 is the currently support Node version for actions - https://docs.github.com/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runsusing-for-javascript-actions
node-version: [18.x, 20.x]
fail-fast: false

runs-on: ${{ matrix.runs-on }}
Expand All @@ -25,10 +29,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set Node.js 20.x
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: ${{ matrix.node-version }}

- name: npm install
run: npm install
Expand Down

0 comments on commit bb2278e

Please sign in to comment.