Skip to content

Commit

Permalink
chore: add ci for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
lideming committed Nov 26, 2023
1 parent 6c7295c commit 8264ae4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Frontend Build & Lint

on: ["pull_request", "push"]

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: neetbox/frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: setup yarn
run: corepack enable
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn tsc
if: '!cancelled()'
- run: yarn lint
if: '!cancelled()'

0 comments on commit 8264ae4

Please sign in to comment.