Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/auto-format-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Run Prettier on RELEASE.md
working-directory: ./docs
run: |
yarn install --frozen-lockfile
npm ci
npx prettier --write docs/references/RELEASE.md

- name: Commit changes back to the PR
Expand Down
26 changes: 10 additions & 16 deletions .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,23 @@ jobs:
working-directory: ./docs
steps:
- name: Check out repository 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get yarn cache directory path 🪄
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache dependencies 🧪
uses: actions/cache@v4
id: yarn-cache
- name: Set up Node 🔧
uses: actions/setup-node@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: '20'
cache: 'npm'
cache-dependency-path: docs/package-lock.json

- name: Install dependencies 📦
run: yarn install
run: npm ci

- name: Lint 🔍
run: yarn run lint
run: npm run lint

- name: Format 🥇
run: yarn run format
run: npm run format

- name: Build site 🔨
run: yarn run build
run: npm run build
15 changes: 4 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,7 @@ docs/build

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Yarn leftovers
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
npm-error.log*

# npm leftovers
.npm/
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tasks:
- init: cd docs && yarn install
command: yarn start
- init: cd docs && npm install
command: npm start
ports:
- port: 3000
onOpen: open-preview
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: codespell
entry: codespell
language: python
exclude: ^docs/yarn.lock
exclude: ^docs/package-lock.json
args:
- -L aks

Expand Down
2 changes: 1 addition & 1 deletion docs/.husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

cd docs
yarn run lint-staged
npm run lint-staged
1 change: 1 addition & 0 deletions docs/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
3 changes: 0 additions & 3 deletions docs/babel.config.js

This file was deleted.

274 changes: 0 additions & 274 deletions docs/docusaurus.config.js

This file was deleted.

Loading
Loading