Skip to content

Commit

Permalink
test client build on different node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jan 22, 2025
1 parent 838491a commit d7e5779
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Server"
name: "Client"

on:
workflow_call:
Expand All @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '14.x'
node-version: ${{ inputs.node-version }}
cache: npm
cache-dependency-path: client/package-lock.json

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ jobs:
python-version: ${{ matrix.python-version }}

client:
uses: ./.github/workflows/client.yml
strategy:
matrix:
node-version: ['14', '18', '20', 'lts/*']
uses: ./.github/workflows/client.yml
with:
node-version: ${{ matrix.node-version }}

0 comments on commit d7e5779

Please sign in to comment.