From 85c5f2d780f6521b00e36ac9ed3e813be034caf7 Mon Sep 17 00:00:00 2001 From: Lukas Hass Date: Wed, 20 Nov 2024 21:08:26 +0100 Subject: [PATCH] update node versions --- .github/workflows/tests.yaml | 22 ---------------------- .gitpod.yml | 8 ++++---- packages/former/package.json | 4 ++-- packages/former/tsconfig.node.json | 2 +- 4 files changed, 7 insertions(+), 29 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 31a2d3d..91af0a8 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -47,25 +47,3 @@ jobs: version: 9 run_install: true - run: pnpm test - - # e2e: - # name: Playwright Tests - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v3 - # - uses: actions/setup-node@v3 - # with: - # node-version: 20 - # - uses: pnpm/action-setup@v3 - # with: - # version: 8 - # run_install: true - # - run: pnpm build:package - # - run: npx playwright install --with-deps - # - run: pnpm test || exit 1 - # - uses: actions/upload-artifact@v3 - # if: always() - # with: - # name: playwright-report - # path: playground/playwright-report/ - # retention-days: 30 diff --git a/.gitpod.yml b/.gitpod.yml index 68cfcd8..5bf9b43 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -7,10 +7,10 @@ tasks: - name: Setup gitpod env before: | - nvm install 20 - nvm use 20 - npm install -g pnpm@8 - nvm alias default 20 + nvm install 22 + nvm use 22 + npm install -g pnpm@9 + nvm alias default 22 echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix init: pnpm install && pnpm run build diff --git a/packages/former/package.json b/packages/former/package.json index 8739e7e..65db9fb 100644 --- a/packages/former/package.json +++ b/packages/former/package.json @@ -45,9 +45,9 @@ "lodash": "^4.17.21" }, "devDependencies": { - "@tsconfig/node20": "^20.1.4", + "@tsconfig/node22": "^22.0.0", "@types/lodash": "^4.17.7", - "@types/node": "^20.12.5", + "@types/node": "^22.9.1", "@vitejs/plugin-vue": "^5.0.4", "@vue/tsconfig": "^0.5.1", "@vueuse/core": "^10.9.0", diff --git a/packages/former/tsconfig.node.json b/packages/former/tsconfig.node.json index 21c15c6..5183e76 100644 --- a/packages/former/tsconfig.node.json +++ b/packages/former/tsconfig.node.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node20/tsconfig.json", + "extends": "@tsconfig/node22/tsconfig.json", "compilerOptions": { "composite": true, "module": "ESNext",