💚 ci: Add .lock file

This commit is contained in:
Martial BE 2024-04-02 14:16:08 +08:00
parent c80f81b177
commit 18bb1cd904
No known key found for this signature in database
GPG Key ID: D06C32DF0EDB9084
7 changed files with 10317 additions and 12 deletions

View File

@ -42,8 +42,8 @@ jobs:
run: |
export VERSION=$(cat VERSION)
cd web
npm install
REACT_APP_VERSION=$VERSION npm run build
yarn install
REACT_APP_VERSION=$VERSION yarn run build
cd ..
- name: Set up Go
uses: actions/setup-go@v3

View File

@ -23,8 +23,8 @@ jobs:
CI: ""
run: |
cd web
npm install
REACT_APP_VERSION=$(git describe --tags) npm run build
yarn install
REACT_APP_VERSION=$(git describe --tags) yarn run build
cd ..
- name: Set up Go
uses: actions/setup-go@v3

View File

@ -23,8 +23,8 @@ jobs:
CI: ""
run: |
cd web
npm install
REACT_APP_VERSION=$(git describe --tags) npm run build
yarn install
REACT_APP_VERSION=$(git describe --tags) yarn run build
cd ..
- name: Set up Go
uses: actions/setup-go@v3

View File

@ -26,8 +26,8 @@ jobs:
CI: ""
run: |
cd web
npm install
REACT_APP_VERSION=$(git describe --tags) npm run build
yarn install
REACT_APP_VERSION=$(git describe --tags) yarn run build
cd ..
- name: Set up Go
uses: actions/setup-go@v3

View File

@ -9,7 +9,7 @@ all: one-api
web: $(WEBDIR)/build
$(WEBDIR)/build:
cd $(WEBDIR) && npm install && REACT_APP_VERSION=$(VERSION) npm run build
cd $(WEBDIR) && yarn install && REACT_APP_VERSION=$(VERSION) yarn run build
one-api: web
$(GOBUILD) -o $(DISTDIR)/$(NAME)

4
web/.gitignore vendored
View File

@ -21,6 +21,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.idea
package-lock.json
yarn.lock
.idea

10307
web/yarn.lock Normal file

File diff suppressed because it is too large Load Diff