feat: single workflow that check prettier, linter and build
Some checks failed
CI / build (push) Failing after 11s

This commit is contained in:
Pierre Tellier 2025-02-09 16:07:40 +01:00
parent 645a10477d
commit 83cbeb7a2e
3 changed files with 24 additions and 30 deletions

View 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: check build
working-directory: ./front/MyINPulse-front
run: npm run build

View File

@ -1,15 +0,0 @@
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ESLint
run: npm install eslint eslint-config-prettier eslint-plugin-vue globals typescript-eslint
- name: Run ESLint
working-directory: ./front/MyINPulse-front
run: npx eslint

View File

@ -1,15 +0,0 @@
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ESLint
run: npm install prettier
- name: Run ESLint
working-directory: ./front/MyINPulse-front
run: npx prettier src --check