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
18 changes: 15 additions & 3 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "yarn"
cache: "pnpm"
- name: Install dependencies
run: ./s/ci-install
- name: Typescript
Expand All @@ -44,11 +48,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "yarn"
cache: "pnpm"
- name: Install dependencies
run: ./s/ci-install
- name: Lint JS
Expand All @@ -61,11 +69,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "yarn"
cache: "pnpm"
- name: Install dependencies
run: ./s/ci-install
- name: Check Formatting
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern
## Installation

```console
yarn install
pnpm install
```

## Local Development

```console
yarn start
pnpm start
```

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

## Build

```console
yarn build
pnpm build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
Expand Down
6 changes: 4 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
]
},
"volta": {
"node": "20.18.0"
}
"node": "20.18.0",
"pnpm": "9.15.4"
},
"packageManager": "pnpm@9.15.4"
}
Loading
Loading