Skip to content

Update dependency eslint-plugin-react-refresh to v0.4.14 #909

Update dependency eslint-plugin-react-refresh to v0.4.14

Update dependency eslint-plugin-react-refresh to v0.4.14 #909

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.builds }}
strategy:
fail-fast: true
matrix:
builds: [client, server]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.11.0"
cache: "npm"
cache-dependency-path: "${{ matrix.builds }}/package-lock.json"
- name: Install dependencies
run: npm ci
- name: Build ${{ matrix.builds }}
run: npm run build
- name: Lint ${{ matrix.builds }}
run: npm run lint
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "server"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: "20.11.0"
cache: "npm"
cache-dependency-path: "server/package-lock.json"
- name: Install dependencies
run: npm ci
- name: Test server
run: npm run test