Skip to content

Commit

Permalink
Merge pull request #3753 from josephevans/add-ci
Browse files Browse the repository at this point in the history
Add CI workflows to test with Node 18.x and 20.x.
  • Loading branch information
DaleMcGrew authored Oct 17, 2023
2 parents 05d55ec + 6ce63b1 commit 2159fbd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node.js CI Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- run: cp src/js/config-template.js src/js/config.js
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 2159fbd

Please sign in to comment.