refactor: Rewrite docs and workflows to use pnpm

This commit is contained in:
Bart van der Braak 2023-06-13 22:14:36 +02:00
parent 95e36e3181
commit 885a5f8d99
3 changed files with 8 additions and 8 deletions

View file

@ -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: |

View file

@ -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

View file

@ -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
```