update node (#572)
* update node * tweaked when github actions should run * workaround for json -g failing * cleanup
This commit is contained in:
parent
0ad2bb4e5e
commit
7cfdf2821c
5
.github/workflows/docker-publish.yml
vendored
5
.github/workflows/docker-publish.yml
vendored
@ -24,8 +24,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- run: |
|
||||
npm install -g json
|
||||
MOCK_SAML_VERSION=$(echo $(cat ./package.json) | json version)
|
||||
npm install
|
||||
|
||||
MOCK_SAML_VERSION=$(echo $(cat ./package.json) | ./node_modules/json/lib/json.js version)
|
||||
echo "NPMVERSION=$(echo ${MOCK_SAML_VERSION})" >> $GITHUB_OUTPUT
|
||||
id: npmversion
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
ARG NODEJS_IMAGE=node:20.11.1-alpine3.19
|
||||
ARG NODEJS_IMAGE=node:20.12.1-alpine3.19
|
||||
FROM --platform=$BUILDPLATFORM $NODEJS_IMAGE AS base
|
||||
|
||||
FROM base AS deps
|
||||
|
||||
13
package-lock.json
generated
13
package-lock.json
generated
@ -24,6 +24,7 @@
|
||||
"autoprefixer": "10.4.19",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-next": "14.1.4",
|
||||
"json": "11.0.0",
|
||||
"postcss": "8.4.38",
|
||||
"prettier": "3.2.5",
|
||||
"prettier-plugin-tailwindcss": "0.5.13",
|
||||
@ -4992,6 +4993,18 @@
|
||||
"integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/json": {
|
||||
"version": "11.0.0",
|
||||
"resolved": "https://registry.npmjs.org/json/-/json-11.0.0.tgz",
|
||||
"integrity": "sha512-N/ITv3Yw9Za8cGxuQqSqrq6RHnlaHWZkAFavcfpH/R52522c26EbihMxnY7A1chxfXJ4d+cEFIsyTgfi9GihrA==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"json": "lib/json.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/json-buffer": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
"autoprefixer": "10.4.19",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-next": "14.1.4",
|
||||
"json": "11.0.0",
|
||||
"postcss": "8.4.38",
|
||||
"prettier": "3.2.5",
|
||||
"prettier-plugin-tailwindcss": "0.5.13",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user