Install dependencies from lock file in github actions (#686)

This commit is contained in:
schroda
2024-03-31 23:36:39 +02:00
committed by GitHub
parent dc1a6cbd16
commit 8d265f1ddf
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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",