front_foundation #5
24
.gitea/workflows/front.yaml
Normal file
24
.gitea/workflows/front.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: CI
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install everything
|
||||||
|
working-directory: ./front/MyINPulse-front
|
||||||
|
run: npm i
|
||||||
|
|
||||||
|
- name: Run ESLint
|
||||||
|
working-directory: ./front/MyINPulse-front
|
||||||
|
run: npx eslint
|
||||||
|
|
||||||
|
- name: Run prettier
|
||||||
|
working-directory: ./front/MyINPulse-front
|
||||||
|
run: npx prettier src --check
|
||||||
|
|
||||||
|
- name: Build frontend
|
||||||
|
working-directory: ./front/MyINPulse-front
|
||||||
|
run: npm run build
|
Loading…
x
Reference in New Issue
Block a user