Skip to content

Commit

Permalink
setup frontend ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Oct 20, 2023
1 parent 5084be3 commit 31684c4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci

on:
push:

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

jobs:
frontend-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: MH4GF/shared-config/.github/composite-actions/setup-pnpm@main
with:
node-version-file: web/.node-version
pnpm-version: "8.9.2"
working-directory: web
- run: pnpm i
- run: pnpm lint
1 change: 1 addition & 0 deletions web/.node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.18.2

0 comments on commit 31684c4

Please sign in to comment.