Skip to content

ci: readme and separating CI files #5

ci: readme and separating CI files

ci: readme and separating CI files #5

Workflow file for this run

name: Frontend CI
on:
push:
paths:
- 'client/**'
- '.github/**'
branches: ['main']
pull_request:
paths:
- 'client/**'
- '.github/**'
branches: ['main']
jobs:
lint:
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 .
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