diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 61bf8f9..f2c5c28 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -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" diff --git a/package.json b/package.json index 20af5f5..454cf19 100644 --- a/package.json +++ b/package.json @@ -32,5 +32,8 @@ "onlyBuiltDependencies": [ "esbuild" ] + }, + "engines": { + "node": "22" } }