mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-22 17:46:31 +01:00
Merge pull request #443 from wasp-lang/franjo/update-node-to-20
This commit is contained in:
82
.github/workflows/blog-deployment.yml
vendored
82
.github/workflows/blog-deployment.yml
vendored
@@ -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: 'lts/*'
|
||||
|
||||
- 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: 'lts/*'
|
||||
|
||||
- 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
|
||||
- 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
|
||||
|
||||
2
.github/workflows/e2e-tests.yml
vendored
2
.github/workflows/e2e-tests.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
env:
|
||||
WASP_TELEMETRY_DISABLE: 1
|
||||
WASP_VERSION: 0.16.4
|
||||
WASP_VERSION: 0.16.7
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
20
template/e2e-tests/package-lock.json
generated
20
template/e2e-tests/package-lock.json
generated
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,6 @@
|
||||
"prisma": "5.19.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.0.0"
|
||||
"@types/node": "^20.14.8"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user