Skip to content

update README's

update README's #2

name: Lint and Test Client
on:
push:
branches:
- main
- dev
paths: client/**
pull_request:
branches:
- main
paths: client/**
jobs:
lint-and-test:
name: Lint and Test Client
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: client/.nvmrc
cache: "npm"
cache-dependency-path: client/package-lock.json
- name: Install dependencies
working-directory: ./client
run: npm ci
- name: Lint
working-directory: ./client
run: npm run lint
# todo: setup test
# - name: Test
# run: npm run test