Skip to content

Merge pull request #201 from ninoseki/use-lefthook #540

Merge pull request #201 from ninoseki/use-lefthook

Merge pull request #201 from ninoseki/use-lefthook #540

Workflow file for this run

name: Node.js CI
on: ["pull_request", "push"]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install npm dependencies
run: npm install
- name: Run tests
run: npm run test:unit