Install dependencies from lock file in github actions (#686)
This commit is contained in:
2
.github/workflows/build_pull_request.yml
vendored
2
.github/workflows/build_pull_request.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
node-version-file: 'package.json'
|
node-version-file: 'package.json'
|
||||||
|
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: yarn
|
run: yarn ci
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
|
|||||||
2
.github/workflows/build_push_master.yml
vendored
2
.github/workflows/build_push_master.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Build webUI
|
- name: Build webUI
|
||||||
run: |
|
run: |
|
||||||
cd master
|
cd master
|
||||||
yarn install
|
yarn ci
|
||||||
yarn build
|
yarn build
|
||||||
yarn build-zip
|
yarn build-zip
|
||||||
yarn build-md5
|
yarn build-md5
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"ci": "yarn install --frozen-lockfile",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
Reference in New Issue
Block a user