Skip to content
Snippets Groups Projects
Commit 1b7827b1 authored by Sebastien Dumetz's avatar Sebastien Dumetz Committed by Sebastien DUMETZ
Browse files

test-build server on every compatible node-LTS

parent 13541f2c
No related branches found
No related tags found
No related merge requests found
......@@ -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') }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment