Skip to content

Commit

Permalink
feat: add frontend ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tosuke committed Sep 8, 2024
1 parent 9885ed4 commit 95868d8
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Frontend CI

on:
push:
branches: [main]
pull_request:
paths:
- .github
- frontend

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
working-directory: frontend

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
npm_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm run --recursive --parallel --aggregate-output lint

0 comments on commit 95868d8

Please sign in to comment.