Skip to content

Merge pull request #126 from jerrymusaga/feat/keeper-dry-run #116

Merge pull request #126 from jerrymusaga/feat/keeper-dry-run

Merge pull request #126 from jerrymusaga/feat/keeper-dry-run #116

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["main", "master"]
pull_request:
branches: ["main", "master"]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
project: [frontend, keeper]
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
working-directory: ./${{ matrix.project }}
run: npm install
- name: Lint
working-directory: ./${{ matrix.project }}
run: npm run lint --if-present
- name: Test
working-directory: ./${{ matrix.project }}
run: npm test --if-present
- name: Build
working-directory: ./${{ matrix.project }}
run: npm run build --if-present