Skip to content

Commit

Permalink
feat: migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Aug 4, 2024
1 parent a50f685 commit 8b96725
Show file tree
Hide file tree
Showing 4 changed files with 2,714 additions and 3,893 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
useLockFile: false
run: pnpm install

- name: Build project
run: npm run build
run: pnpm build

- name: Upload production-ready build files
uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ To configure your registry, you need to edit the `config.ts` file.
To run the registry in development mode, run the following command:

```bash
npm run dev
pnpm dev
```

## Production

To run the registry in production mode, run the following command:

```bash
npm run build
pnpm build
```
Loading

0 comments on commit 8b96725

Please sign in to comment.