This commit is contained in:
parent
491c12a80e
commit
602f285352
2 changed files with 14 additions and 3 deletions
|
@ -5,13 +5,21 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: "docker"
|
runs-on: "docker"
|
||||||
container:
|
container:
|
||||||
image: "code.forgejo.org/oci/node:22-alpine3.21"
|
image: "code.forgejo.org/oci/alpine:3.21"
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
uses: "https://code.forgejo.org/actions/checkout@v4"
|
uses: "https://code.forgejo.org/actions/checkout@v4"
|
||||||
|
|
||||||
- name: "Install pnpm"
|
- name: "Setup pnpm"
|
||||||
run: "npm install --global pnpm"
|
uses: "https://github.com/pnpm/action-setup@v4"
|
||||||
|
with:
|
||||||
|
version: 10
|
||||||
|
|
||||||
|
- name: "Setup Node.js"
|
||||||
|
uses: "https://github.com/actions/setup-node"
|
||||||
|
with:
|
||||||
|
node-version-file: "package.json"
|
||||||
|
cache: "pnpm"
|
||||||
|
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
run: "pnpm install"
|
run: "pnpm install"
|
||||||
|
|
|
@ -32,5 +32,8 @@
|
||||||
"onlyBuiltDependencies": [
|
"onlyBuiltDependencies": [
|
||||||
"esbuild"
|
"esbuild"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue