Skip to content

Commit

Permalink
fix version for node & go
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca committed Mar 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4c372c3 commit 097dff9
Showing 4 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 20.11.1
cache: npm
cache-dependency-path: spx-gui/package-lock.json

@@ -49,7 +49,7 @@ jobs:
- name: Set up Go & Go+
uses: goplus/setup-goplus@v1
with:
go-version: '1.21.0'
go-version: '1.21.3'
gop-version: '1.2.5'

- name: Run unit test cases
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ RUN bash -c ' echo "deb [trusted=yes] https://pkgs.goplus.org/apt/ /" > /etc/apt
WORKDIR /app/spx-backend/cmd
RUN gop build -o spx-backend .

FROM node:latest as frontend-builder
FROM node:20.11.1 as frontend-builder

WORKDIR /app/spx-gui

12 changes: 9 additions & 3 deletions spx-gui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions spx-gui/package.json
Original file line number Diff line number Diff line change
@@ -59,5 +59,9 @@
"vite-plugin-vue-devtools": "^7.0.7",
"vite-plugin-wasm": "^3.3.0",
"vue-tsc": "^1.8.27"
},
"engines": {
"node": "^20.11.1",
"npm": "^10.2.4"
}
}

0 comments on commit 097dff9

Please sign in to comment.