Skip to content

implemented cancel task functionality #98

implemented cancel task functionality

implemented cancel task functionality #98

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