hotfix: use custom docker img to use nodev16
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2023-10-21 14:43:25 +05:30
parent a3c0e1022f
commit b79e6fa2ba
Signed by: realaravinth
GPG key ID: F8F50389936984FF
4 changed files with 5540 additions and 5767 deletions

View file

@ -1,6 +1,6 @@
steps: steps:
build: build:
image: python image: realaravinth/nvm-node16-insecure
environment: environment:
- NVM_DIR="$HOME/.nvm" - NVM_DIR="$HOME/.nvm"
when: when:
@ -8,11 +8,8 @@ steps:
branch: master branch: master
commands: commands:
- apt-get update - apt-get update
- apt update && apt-get -y --no-install-recommends install curl tar gnupg curl wget git - apt update && apt-get -y --no-install-recommends install curl tar gnupg curl wget git build-essential
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash - npm install yarn
- source "$NVM_DIR/nvm.sh" && nvm install 16.20.2 - make env
- source "$NVM_DIR/nvm.sh" && nvm use 16.20.2 - make ci-deploy
- source "$NVM_DIR/nvm.sh" && node install yarn
- source "$NVM_DIR/nvm.sh" && make env
- source "$NVM_DIR/nvm.sh" && make ci-deploy
secrets: [FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET] secrets: [FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]

21
package-lock.json generated
View file

@ -7,6 +7,9 @@
"": { "": {
"name": "doks", "name": "doks",
"version": "0.1.6", "version": "0.1.6",
"dependencies": {
"yarn": "^1.22.19"
},
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.18.9", "@babel/cli": "^7.18.9",
"@babel/core": "^7.18.9", "@babel/core": "^7.18.9",
@ -14110,6 +14113,19 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/yarn": {
"version": "1.22.19",
"resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz",
"integrity": "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==",
"hasInstallScript": true,
"bin": {
"yarn": "bin/yarn.js",
"yarnpkg": "bin/yarn.js"
},
"engines": {
"node": ">=4.0.0"
}
},
"node_modules/yauzl": { "node_modules/yauzl": {
"version": "2.10.0", "version": "2.10.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
@ -25117,6 +25133,11 @@
"integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",
"dev": true "dev": true
}, },
"yarn": {
"version": "1.22.19",
"resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz",
"integrity": "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ=="
},
"yauzl": { "yauzl": {
"version": "2.10.0", "version": "2.10.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",

View file

@ -52,5 +52,8 @@
"standard-version": "^9.1", "standard-version": "^9.1",
"stylelint": "^13.11", "stylelint": "^13.11",
"stylelint-config-standard": "^20.0" "stylelint-config-standard": "^20.0"
},
"dependencies": {
"yarn": "^1.22.19"
} }
} }

11270
yarn.lock

File diff suppressed because it is too large Load diff