Skip to content

Commit

Permalink
build(ci): Add new workflow for hslayers-server
Browse files Browse the repository at this point in the history
WIP
  • Loading branch information
jmacura committed Feb 5, 2024
1 parent 50c4536 commit 9692293
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/build+test_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build & test hslayers-server

on:
push:
paths:
- 'projects/hslayers-server/**/*'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Change working directory
run: cd ./projects/hslayers-server/
- name: Install dependencies
run: npm ci --force
- name: Test
run: npm test
env:
CI: true
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node CI
name: Build & test hslayers, app & sensors

on: [push]

Expand Down

0 comments on commit 9692293

Please sign in to comment.