mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
refactor: Rewrite docs and workflows to use pnpm
This commit is contained in:
parent
95e36e3181
commit
885a5f8d99
3 changed files with 8 additions and 8 deletions
4
.github/workflows/lighthouse-report.yaml
vendored
4
.github/workflows/lighthouse-report.yaml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
node-version: 18
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn global add @unlighthouse/cli puppeteer
|
||||
run: pnpm add -g @unlighthouse/cli puppeteer
|
||||
|
||||
- name: Retrieve Vercel Preview URL
|
||||
uses: zentered/vercel-preview-url@v1.1.9
|
||||
|
@ -56,7 +56,7 @@ jobs:
|
|||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
with:
|
||||
deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
|
||||
timeout: 60
|
||||
timeout: 120
|
||||
|
||||
- name: Build Unlighthouse report
|
||||
run: |
|
||||
|
|
2
.github/workflows/lint-deps-check.yaml
vendored
2
.github/workflows/lint-deps-check.yaml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
node-version: 18
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v2.3.0
|
||||
|
|
10
README.md
10
README.md
|
@ -17,15 +17,15 @@
|
|||
|
||||
To install the project and its dependencies, follow these steps:
|
||||
|
||||
1. Ensure you have `yarn` installed on your system. If not, you can install it by running:
|
||||
1. Ensure you have `pnpm` installed on your system. If not, you can install it by running:
|
||||
|
||||
```sh-session
|
||||
npm install -g yarn
|
||||
npm install -g pnpm
|
||||
```
|
||||
|
||||
2. Run the following command to install the project dependencies:
|
||||
```sh-session
|
||||
yarn install
|
||||
pnpm install
|
||||
```
|
||||
|
||||
### Environment Variables
|
||||
|
@ -43,7 +43,7 @@ After setting up the required services, you need to set the corresponding enviro
|
|||
To build the project, execute the following command:
|
||||
|
||||
```sh-session
|
||||
yarn build
|
||||
pnpm build
|
||||
```
|
||||
|
||||
## Run
|
||||
|
@ -51,5 +51,5 @@ yarn build
|
|||
To run the project locally, use the following command:
|
||||
|
||||
```sh-session
|
||||
yarn dev
|
||||
pnpm turbo run dev
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue