Merge pull request #443 from wasp-lang/franjo/update-node-to-20

This commit is contained in:
Franjo Mindek
2025-07-04 09:08:55 +02:00
committed by GitHub
6 changed files with 56 additions and 54 deletions

View File

@@ -17,58 +17,58 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '18' node-version: 'lts/*'
- name: Install dependencies - name: Install dependencies
working-directory: ./opensaas-sh/blog working-directory: ./opensaas-sh/blog
run: npm install run: npm install
- name: Generate LLM files - name: Generate LLM files
working-directory: ./opensaas-sh/blog working-directory: ./opensaas-sh/blog
run: npm run generate-llm-files run: npm run generate-llm-files
- name: Build site - name: Build site
working-directory: ./opensaas-sh/blog working-directory: ./opensaas-sh/blog
run: npm run build run: npm run build
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '18' node-version: 'lts/*'
- name: Install dependencies - name: Install dependencies
working-directory: ./opensaas-sh/blog working-directory: ./opensaas-sh/blog
run: npm install run: npm install
- name: Generate LLM files - name: Generate LLM files
working-directory: ./opensaas-sh/blog working-directory: ./opensaas-sh/blog
run: npm run generate-llm-files run: npm run generate-llm-files
- name: Build site - name: Build site
working-directory: ./opensaas-sh/blog working-directory: ./opensaas-sh/blog
run: npm run build run: npm run build
- name: Deploy to Netlify - name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2 uses: nwtgck/actions-netlify@v2
with: with:
publish-dir: './opensaas-sh/blog/dist' publish-dir: './opensaas-sh/blog/dist'
production-branch: main production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions" deploy-message: 'Deploy from GitHub Actions'
env: env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1 timeout-minutes: 1

View File

@@ -10,7 +10,7 @@ on:
env: env:
WASP_TELEMETRY_DISABLE: 1 WASP_TELEMETRY_DISABLE: 1
WASP_VERSION: 0.16.4 WASP_VERSION: 0.16.7
jobs: jobs:
test: test:

View File

@@ -64,7 +64,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g
### Pre-requisites ### Pre-requisites
You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp. 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). To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm).

View File

@@ -17,7 +17,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g
### Pre-requisites ### Pre-requisites
You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp. 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). To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm).

View File

@@ -15,7 +15,7 @@
"prisma": "5.19.1" "prisma": "5.19.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^18.0.0" "@types/node": "^20.14.8"
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
@@ -96,12 +96,13 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "18.19.24", "version": "20.19.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.24.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.4.tgz",
"integrity": "sha512-eghAz3gnbQbvnHqB+mgB2ZR3aH6RhdEmHGS48BnV75KceQPHqabkxKI0BbUSsqhqy2Ddhc2xD/VAR9ySZd57Lw==", "integrity": "sha512-OP+We5WV8Xnbuvw0zC2m4qfB/BJvjyCwtNjhHdJxV1639SGSKrLmJkc3fMnp2Qy8nJyHp8RO6umxELN/dS1/EA==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~5.26.4" "undici-types": "~6.21.0"
} }
}, },
"node_modules/fsevents": { "node_modules/fsevents": {
@@ -184,10 +185,11 @@
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "5.26.5", "version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"dev": true "dev": true,
"license": "MIT"
} }
} }
} }

View File

@@ -29,6 +29,6 @@
"prisma": "5.19.1" "prisma": "5.19.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^18.0.0" "@types/node": "^20.14.8"
} }
} }