From 2c4b4d0cf3eae04da659acccf6ab6ba0a8b69269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6berl?= Date: Thu, 29 Feb 2024 09:31:46 +0100 Subject: [PATCH] move version config into package.json --- .github/workflows/deploy-gh-pages.yml | 4 ---- .github/workflows/lint-and-build.yml | 4 ---- package.json | 7 ++++++- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index dc6f8a0..dd55b4c 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -9,11 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20.x - - uses: pnpm/action-setup@v3 - name: Build diff --git a/.github/workflows/lint-and-build.yml b/.github/workflows/lint-and-build.yml index 7de3e0f..53dacbd 100644 --- a/.github/workflows/lint-and-build.yml +++ b/.github/workflows/lint-and-build.yml @@ -9,11 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20.x - - uses: pnpm/action-setup@v3 - name: Lint and Build diff --git a/package.json b/package.json index 9810ca8..9427680 100644 --- a/package.json +++ b/package.json @@ -30,5 +30,10 @@ "@typescript-eslint/parser": "7.1.0", "eslint": "8.57.0", "typescript": "5.1.6" - } + }, + "engines": { + "node": ">=20.0.0", + "pnpm": ">=8.0.0" + }, + "packageManager": "pnpm@8" }