Skip to content

Commit

Permalink
Update CI for master branch and new actions
Browse files Browse the repository at this point in the history
This updates this to run CI tests for PRs made against master as well as main.

it also updates the github actions to use new versions
  • Loading branch information
mrchrisadams committed Nov 2, 2024
1 parent de9b134 commit b919018
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
Expand Down

0 comments on commit b919018

Please sign in to comment.