Skip to content

Commit

Permalink
test-build server on every compatible node-LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Oct 22, 2023
1 parent 1dce91c commit eb080c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,19 @@ jobs:
build-server:
name: Server
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
# don't discriminate by ${{ matrix.node-version }}
with:
path: "~/.npm"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit eb080c9

Please sign in to comment.