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