💚 ci: Add .lock file
This commit is contained in:
parent
c80f81b177
commit
18bb1cd904
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@ -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
|
||||
|
4
.github/workflows/linux-release.yml
vendored
4
.github/workflows/linux-release.yml
vendored
@ -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
|
||||
|
4
.github/workflows/macos-release.yml
vendored
4
.github/workflows/macos-release.yml
vendored
@ -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
|
||||
|
4
.github/workflows/windows-release.yml
vendored
4
.github/workflows/windows-release.yml
vendored
@ -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
|
||||
|
2
makefile
2
makefile
@ -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
4
web/.gitignore
vendored
@ -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
10307
web/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user