💚 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: |
|
run: |
|
||||||
export VERSION=$(cat VERSION)
|
export VERSION=$(cat VERSION)
|
||||||
cd web
|
cd web
|
||||||
npm install
|
yarn install
|
||||||
REACT_APP_VERSION=$VERSION npm run build
|
REACT_APP_VERSION=$VERSION yarn run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
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: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install
|
yarn install
|
||||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
REACT_APP_VERSION=$(git describe --tags) yarn run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
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: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install
|
yarn install
|
||||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
REACT_APP_VERSION=$(git describe --tags) yarn run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
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: ""
|
CI: ""
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install
|
yarn install
|
||||||
REACT_APP_VERSION=$(git describe --tags) npm run build
|
REACT_APP_VERSION=$(git describe --tags) yarn run build
|
||||||
cd ..
|
cd ..
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
|
2
makefile
2
makefile
@ -9,7 +9,7 @@ all: one-api
|
|||||||
web: $(WEBDIR)/build
|
web: $(WEBDIR)/build
|
||||||
|
|
||||||
$(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
|
one-api: web
|
||||||
$(GOBUILD) -o $(DISTDIR)/$(NAME)
|
$(GOBUILD) -o $(DISTDIR)/$(NAME)
|
||||||
|
4
web/.gitignore
vendored
4
web/.gitignore
vendored
@ -21,6 +21,4 @@
|
|||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
.idea
|
.idea
|
||||||
package-lock.json
|
|
||||||
yarn.lock
|
|
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