CI/CD
This commit is contained in:
@@ -55,18 +55,23 @@ jobs:
|
|||||||
npm config set fetch-retries 5
|
npm config set fetch-retries 5
|
||||||
npm config set fetch-retry-mintimeout 20000
|
npm config set fetch-retry-mintimeout 20000
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
ls
|
||||||
|
pwd
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd Frontend
|
||||||
npm install --registry=https://package-mirror.liara.ir/repository/npm/
|
npm install --registry=https://package-mirror.liara.ir/repository/npm/
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd Frontend
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
||||||
- name: Run Lint
|
- name: Run Lint
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
cd Frontend
|
||||||
npm run lint --if-present
|
npm run lint --if-present
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user