Skip to content

Commit 1dcbaf3

Browse files
authored
Merge pull request wasp-lang#443 from wasp-lang/franjo/update-node-to-20
2 parents c42e901 + 6b8f0b5 commit 1dcbaf3

File tree

6 files changed

+56
-54
lines changed

6 files changed

+56
-54
lines changed

.github/workflows/blog-deployment.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -17,58 +17,58 @@ jobs:
1717
runs-on: ubuntu-latest
1818
if: github.event_name == 'pull_request'
1919
steps:
20-
- name: Checkout code
21-
uses: actions/checkout@v3
20+
- name: Checkout code
21+
uses: actions/checkout@v3
2222

23-
- name: Setup Node.js
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: '18'
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: 'lts/*'
2727

28-
- name: Install dependencies
29-
working-directory: ./opensaas-sh/blog
30-
run: npm install
28+
- name: Install dependencies
29+
working-directory: ./opensaas-sh/blog
30+
run: npm install
3131

32-
- name: Generate LLM files
33-
working-directory: ./opensaas-sh/blog
34-
run: npm run generate-llm-files
32+
- name: Generate LLM files
33+
working-directory: ./opensaas-sh/blog
34+
run: npm run generate-llm-files
3535

36-
- name: Build site
37-
working-directory: ./opensaas-sh/blog
38-
run: npm run build
36+
- name: Build site
37+
working-directory: ./opensaas-sh/blog
38+
run: npm run build
3939

4040
deploy:
4141
runs-on: ubuntu-latest
4242
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4343
steps:
44-
- name: Checkout code
45-
uses: actions/checkout@v3
44+
- name: Checkout code
45+
uses: actions/checkout@v3
4646

47-
- name: Setup Node.js
48-
uses: actions/setup-node@v3
49-
with:
50-
node-version: '18'
47+
- name: Setup Node.js
48+
uses: actions/setup-node@v3
49+
with:
50+
node-version: 'lts/*'
5151

52-
- name: Install dependencies
53-
working-directory: ./opensaas-sh/blog
54-
run: npm install
52+
- name: Install dependencies
53+
working-directory: ./opensaas-sh/blog
54+
run: npm install
5555

56-
- name: Generate LLM files
57-
working-directory: ./opensaas-sh/blog
58-
run: npm run generate-llm-files
56+
- name: Generate LLM files
57+
working-directory: ./opensaas-sh/blog
58+
run: npm run generate-llm-files
5959

60-
- name: Build site
61-
working-directory: ./opensaas-sh/blog
62-
run: npm run build
60+
- name: Build site
61+
working-directory: ./opensaas-sh/blog
62+
run: npm run build
6363

64-
- name: Deploy to Netlify
65-
uses: nwtgck/actions-netlify@v2
66-
with:
67-
publish-dir: './opensaas-sh/blog/dist'
68-
production-branch: main
69-
github-token: ${{ secrets.GITHUB_TOKEN }}
70-
deploy-message: "Deploy from GitHub Actions"
71-
env:
72-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
73-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
74-
timeout-minutes: 1
64+
- name: Deploy to Netlify
65+
uses: nwtgck/actions-netlify@v2
66+
with:
67+
publish-dir: './opensaas-sh/blog/dist'
68+
production-branch: main
69+
github-token: ${{ secrets.GITHUB_TOKEN }}
70+
deploy-message: 'Deploy from GitHub Actions'
71+
env:
72+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
73+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
74+
timeout-minutes: 1

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
WASP_TELEMETRY_DISABLE: 1
13-
WASP_VERSION: 0.16.4
13+
WASP_VERSION: 0.16.7
1414

1515
jobs:
1616
test:

opensaas-sh/blog/public/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g
6464
### Pre-requisites
6565

6666
You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp.
67-
Your version of Node.js must be >= 18.
67+
Your version of Node.js must be >= 20.
6868

6969
To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm).
7070

opensaas-sh/blog/src/content/docs/start/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g
1717
### Pre-requisites
1818

1919
You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp.
20-
Your version of Node.js must be >= 18.
20+
Your version of Node.js must be >= 20.
2121

2222
To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm).
2323

template/e2e-tests/package-lock.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"prisma": "5.19.1"
3030
},
3131
"devDependencies": {
32-
"@types/node": "^18.0.0"
32+
"@types/node": "^20.14.8"
3333
}
3434
}

0 commit comments

Comments
 (0)