mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 02:23:55 -07:00
CI: Little tweaks to web (#4488)
This commit is contained in:
parent
1f15445c69
commit
86881bbbc3
2 changed files with 6 additions and 6 deletions
8
.github/workflows/web-build.yml
vendored
8
.github/workflows/web-build.yml
vendored
|
|
@ -45,11 +45,11 @@ jobs:
|
||||||
cache-dependency-path: 'webclient/package-lock.json'
|
cache-dependency-path: 'webclient/package-lock.json'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm clean-install
|
||||||
|
|
||||||
|
- name: Build app
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
- name: Test app
|
- name: Test app
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
- name: Build app
|
|
||||||
if: always()
|
|
||||||
run: npm run build
|
|
||||||
|
|
|
||||||
2
.github/workflows/web-lint.yml
vendored
2
.github/workflows/web-lint.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
cache-dependency-path: 'webclient/package-lock.json'
|
cache-dependency-path: 'webclient/package-lock.json'
|
||||||
|
|
||||||
- name: Install ESLint
|
- name: Install ESLint
|
||||||
run: npm install --ignore-scripts
|
run: npm clean-install --ignore-scripts
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue