Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lgtm:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run lgtm
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.9
12 changes: 10 additions & 2 deletions docs/getting-started/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ nav: 0

## INSTALL

- Install [nvm](https://github.com/nvm-sh/nvm) - Node Version Manager, then:

```bash
$ nvm install
$ nvm use
$ node -v # make sure your version satisfies package.json#engines.node
```

nb: if you want this node version to be your default nvm's one: `nvm alias default node`

```sh
$ git clone https://github.com/pmndrs/docs.git
$ cd docs
$ npm ci
```

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"build": "next build",
"format": "prettier -w src/",
"lint": "eslint src/**/*.{ts,tsx} && prettier . --check",
"prepare": "husky"
"prepare": "husky",
"lgtm": "npm run lint && npm run format && npm run build && echo 'lgtm!' || echo 'not good to me'"
},
"engines": {
"node": ">=20"
Expand Down
Loading