Skip to content

Commit

Permalink
build(ci): Add new workflow for hslayers-server
Browse files Browse the repository at this point in the history
Ignore hslayers-server changes with original workflow
  • Loading branch information
jmacura committed Feb 5, 2024
1 parent 50c4536 commit 6c5d80c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Node CI
name: Build & test hslayers, app & sensors

on: [push]
on:
push:
paths-ignore:
- 'projects/hslayers-server/**/*'

jobs:
build:
Expand Down
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

0 comments on commit 6c5d80c

Please sign in to comment.