From 17471f500f6cf10d81adcc060640172c44b404b8 Mon Sep 17 00:00:00 2001 From: George King Date: Thu, 2 Nov 2023 21:54:58 +0800 Subject: [PATCH] minor: remove the go-bindata action of the workflow config --- .github/workflows/ci.yml | 6 ------ web/package.json | 8 ++++---- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7762876..2605813 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,12 +14,6 @@ jobs: - uses: actions/setup-node@master - name: Build assets run: sudo apt-get install -y nodejs && cd web && npm install && npm run build - - name: Install Go Bindata - run: cd ../ && go install github.com/go-bindata/go-bindata/v3/go-bindata@latest - - name: Packaging assets - run: | - export PATH=$PATH:$(go env GOPATH)/bin - go-bindata -pkg web -o web/bindata.go web/dist/... - name: Build ECTS application run: | GO111MODULE=on go mod download diff --git a/web/package.json b/web/package.json index 360e61a..76397c5 100644 --- a/web/package.json +++ b/web/package.json @@ -1,11 +1,11 @@ { "name": "web", - "version": "0.1.0", + "version": "0.6.1", "private": true, "scripts": { - "serve": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve", - "build": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build", - "lint": "NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint", + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint", "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs" },