Skip to content

Commit 07b948f

Browse files
committed
upgrade node version
1 parent 63c8de1 commit 07b948f

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository holds the documentation for the [crowdsec project](https://githu
44

55
Online version of this documentation is available here: https://doc.crowdsec.net/
66

7-
The documentation is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
7+
The documentation is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
88

99
## Installation
1010

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)