Skip to content

Commit 952bcc8

Browse files
clementACblotus
andauthored
upgrade node version (#660)
Co-authored-by: blotus <[email protected]>
1 parent fa7d92c commit 952bcc8

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.github/workflows/build_doc.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- name: Use Node.js 18.x
15-
uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js 20.x
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 18.x
17+
node-version: 20.x
1818
- name: Install dependencies
1919
run: npm ci
2020
working-directory: ./crowdsec-docs/

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.vscode
1+
.vscode
2+
node_modules

amplify.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 1
2+
frontend:
3+
phases:
4+
build:
5+
commands:
6+
- nvm use 20
7+
- cd crowdsec-docs
8+
- npm install
9+
- npm run build
10+
artifacts:
11+
baseDirectory: crowdsec-docs/build
12+
files:
13+
- "**/*"
14+
cache:
15+
paths:
16+
- crowdsec-docs/node_modules/**/*

0 commit comments

Comments
 (0)