Skip to content

Feature/type of task screen #42

Feature/type of task screen

Feature/type of task screen #42

Workflow file for this run

name: Frontend CI
on:
push:
paths:
- "client/**"
- ".github/**"
branches: ["main"]
pull_request:
paths:
- "client/**"
- ".github/**"
branches: ["main"]
jobs:
format:
name: Format
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
go-version: [1.21.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Format Frontend
run: |
cd client
npm install prettier
npx prettier --check .
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
go-version: [1.21.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Lint Frontend
run: |
cd client
npm install
npm run lint
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
go-version: [1.21.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Build App
run: |
cd client
npm install