From 91549ea9aea7e56d8c32540d71ef162efb31d806 Mon Sep 17 00:00:00 2001 From: Franjo Mindek Date: Wed, 2 Jul 2025 12:58:37 +0200 Subject: [PATCH 1/2] raise node --- .github/workflows/blog-deployment.yml | 82 +++++++++---------- .github/workflows/e2e-tests.yml | 2 +- opensaas-sh/blog/public/llms-full.txt | 2 +- .../content/docs/start/getting-started.mdx | 2 +- template/e2e-tests/package-lock.json | 20 +++-- template/e2e-tests/package.json | 2 +- 6 files changed, 56 insertions(+), 54 deletions(-) diff --git a/.github/workflows/blog-deployment.yml b/.github/workflows/blog-deployment.yml index 1c59328a..70007efe 100644 --- a/.github/workflows/blog-deployment.yml +++ b/.github/workflows/blog-deployment.yml @@ -17,58 +17,58 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'pull_request' steps: - - name: Checkout code - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v3 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' - - name: Install dependencies - working-directory: ./opensaas-sh/blog - run: npm install + - name: Install dependencies + working-directory: ./opensaas-sh/blog + run: npm install - - name: Generate LLM files - working-directory: ./opensaas-sh/blog - run: npm run generate-llm-files + - name: Generate LLM files + working-directory: ./opensaas-sh/blog + run: npm run generate-llm-files - - name: Build site - working-directory: ./opensaas-sh/blog - run: npm run build + - name: Build site + working-directory: ./opensaas-sh/blog + run: npm run build deploy: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - - name: Checkout code - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v3 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' - - name: Install dependencies - working-directory: ./opensaas-sh/blog - run: npm install + - name: Install dependencies + working-directory: ./opensaas-sh/blog + run: npm install - - name: Generate LLM files - working-directory: ./opensaas-sh/blog - run: npm run generate-llm-files + - name: Generate LLM files + working-directory: ./opensaas-sh/blog + run: npm run generate-llm-files - - name: Build site - working-directory: ./opensaas-sh/blog - run: npm run build + - name: Build site + working-directory: ./opensaas-sh/blog + run: npm run build - - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v2 - with: - publish-dir: './opensaas-sh/blog/dist' - production-branch: main - github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: "Deploy from GitHub Actions" - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - timeout-minutes: 1 \ No newline at end of file + - name: Deploy to Netlify + uses: nwtgck/actions-netlify@v2 + with: + publish-dir: './opensaas-sh/blog/dist' + production-branch: main + github-token: ${{ secrets.GITHUB_TOKEN }} + deploy-message: 'Deploy from GitHub Actions' + env: + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + timeout-minutes: 1 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 7e1b2a9c..e653294e 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -10,7 +10,7 @@ on: env: WASP_TELEMETRY_DISABLE: 1 - WASP_VERSION: 0.16.4 + WASP_VERSION: 0.16.7 jobs: test: diff --git a/opensaas-sh/blog/public/llms-full.txt b/opensaas-sh/blog/public/llms-full.txt index cec8113d..f4200ed6 100644 --- a/opensaas-sh/blog/public/llms-full.txt +++ b/opensaas-sh/blog/public/llms-full.txt @@ -64,7 +64,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g ### Pre-requisites You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp. -Your version of Node.js must be >= 18. +Your version of Node.js must be >= 20. To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm). diff --git a/opensaas-sh/blog/src/content/docs/start/getting-started.mdx b/opensaas-sh/blog/src/content/docs/start/getting-started.mdx index e1697194..2713d749 100644 --- a/opensaas-sh/blog/src/content/docs/start/getting-started.mdx +++ b/opensaas-sh/blog/src/content/docs/start/getting-started.mdx @@ -17,7 +17,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g ### Pre-requisites You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp. -Your version of Node.js must be >= 18. +Your version of Node.js must be >= 20. To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm). diff --git a/template/e2e-tests/package-lock.json b/template/e2e-tests/package-lock.json index f0ef18ae..f91393d6 100644 --- a/template/e2e-tests/package-lock.json +++ b/template/e2e-tests/package-lock.json @@ -15,7 +15,7 @@ "prisma": "5.19.1" }, "devDependencies": { - "@types/node": "^18.0.0" + "@types/node": "^20.14.8" } }, "node_modules/@playwright/test": { @@ -96,12 +96,13 @@ } }, "node_modules/@types/node": { - "version": "18.19.24", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.24.tgz", - "integrity": "sha512-eghAz3gnbQbvnHqB+mgB2ZR3aH6RhdEmHGS48BnV75KceQPHqabkxKI0BbUSsqhqy2Ddhc2xD/VAR9ySZd57Lw==", + "version": "20.19.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.4.tgz", + "integrity": "sha512-OP+We5WV8Xnbuvw0zC2m4qfB/BJvjyCwtNjhHdJxV1639SGSKrLmJkc3fMnp2Qy8nJyHp8RO6umxELN/dS1/EA==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.21.0" } }, "node_modules/fsevents": { @@ -184,10 +185,11 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" } } } diff --git a/template/e2e-tests/package.json b/template/e2e-tests/package.json index f9341c49..c954d899 100644 --- a/template/e2e-tests/package.json +++ b/template/e2e-tests/package.json @@ -29,6 +29,6 @@ "prisma": "5.19.1" }, "devDependencies": { - "@types/node": "^18.0.0" + "@types/node": "^20.14.8" } } From 6b8f0b5a73bb4fd4c680787078fb3ce13ff3fdb1 Mon Sep 17 00:00:00 2001 From: Franjo Mindek Date: Thu, 3 Jul 2025 17:38:52 +0200 Subject: [PATCH 2/2] v20 to lts --- .github/workflows/blog-deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/blog-deployment.yml b/.github/workflows/blog-deployment.yml index 70007efe..7746f1ae 100644 --- a/.github/workflows/blog-deployment.yml +++ b/.github/workflows/blog-deployment.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '20' + node-version: 'lts/*' - name: Install dependencies working-directory: ./opensaas-sh/blog @@ -47,7 +47,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '20' + node-version: 'lts/*' - name: Install dependencies working-directory: ./opensaas-sh/blog