Skip to content

chore: add bun for deps installation #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 4, 2024
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
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- [ ] New Page
- [ ] Minor Fix
- [ ] Minor Improvement
- [ ] Major Improvement

#### Description (required)
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Node.js 18
uses: actions/setup-node@v3
with:
Expand All @@ -23,6 +35,8 @@ jobs:
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Build
- name: Run Build
run: yarn build


# - name: Run Lint
# run: yarn lint
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ We're excited you're interested in contributing to our Turborepo-based Docusauru
- [Node.js](https://nodejs.org/en/) (version 18 or above)
- [Yarn](https://yarnpkg.com/) package manager

For installing dependencies faster using [Bun](http://bun.sh/): `bun install`

## Project Structure

This project uses Turborepo to manage a monorepo structure. The documentation site is likely one of the workspaces within this structure.
Expand Down
Loading
Loading