Skip to content

Commit

Permalink
Merge pull request #320 from jaredwray/migrating-to-pnpm-as-default
Browse files Browse the repository at this point in the history
migrating to pnpm as default
  • Loading branch information
jaredwray authored Dec 29, 2024
2 parents 374f794 + b5f4e90 commit eb2a3ec
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

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

- name: Testing
run: npm run test
run: pnpm test

- name: Code Coverage
uses: codecov/codecov-action@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

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

- name: Build Website
run: npm run website:build
run: pnpm website:build

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

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

- name: Testing
run: npm run test
run: pnpm test

- name: Code Coverage
uses: codecov/codecov-action@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm install -g pnpm && pnpm install

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

- name: Testing
run: npm test
run: pnpm test

- name: Code Coverage
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can contribute changes to this repo by opening a pull request:

1) After forking this repository to your Git account, make the proposed changes on your forked branch.
2) Run tests and linting locally.
- Run `npm install && npm test`.
- Run `pnpm install && pnpm test`.
3) Commit your changes and push them to your forked repository.
4) Navigate to the main `writr` repository and select the *Pull Requests* tab.
5) Click the *New pull request* button, then select the option "Compare across forks"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,4 @@ writr.cache.store.ttl = '5m'; // setting it to 5 minutes

# License

MIT © [Jared Wray](https://jaredwray.com)
[MIT](LICENSE) & © [Jared Wray](https://jaredwray.com)

0 comments on commit eb2a3ec

Please sign in to comment.