Skip to content

Merge pull request #214 from traP-jp:fix/responsiveDesign #196

Merge pull request #214 from traP-jp:fix/responsiveDesign

Merge pull request #214 from traP-jp:fix/responsiveDesign #196

Workflow file for this run

name: Client
on:
push:
branches:
- "main"
paths:
- client/**/*
- .github/workflows/client.yaml
pull_request:
paths:
- client/**/*
- .github/workflows/client.yaml
jobs:
package:
name: Check npm install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ./client/.node-version
cache: npm
cache-dependency-path: ./client/package-lock.json
- name: npm ci
run: npm ci
working-directory: ./client/
format:
name: Run format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ./client/.node-version
cache: npm
cache-dependency-path: ./client/package-lock.json
- name: npm ci
run: npm ci
working-directory: ./client/
- name: Run fmt
run: npm run fmt:check
working-directory: ./client/
lint:
name: Run lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ./client/.node-version
cache: npm
cache-dependency-path: ./client/package-lock.json
- name: npm ci
run: npm ci
working-directory: ./client/
- name: Run lint
run: npm run lint
working-directory: ./client/
build:
name: Run build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ./client/.node-version
cache: npm
cache-dependency-path: ./client/package-lock.json
- name: npm ci
run: npm ci
working-directory: ./client/
- name: Run build
run: npm run build
working-directory: ./client/