init ci files
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
name: ci-front
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [frontend]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: frontend
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
- name: Node setup
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: "24.12"
|
||||
|
||||
- name: Install deps
|
||||
run: npm install
|
||||
- name: Lint
|
||||
run: npm run build
|
||||
Reference in New Issue
Block a user