Skip to content

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Jul 2, 2024
1 parent b464c1f commit 992a701
Show file tree
Hide file tree
Showing 26 changed files with 14,890 additions and 159,009 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ permissions:
jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.1
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.15.0
with:
main-branch-name: main
number-of-agents: 3
init-commands: |
yarn nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
pnpm nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
parallel-commands: |
yarn nx-cloud record -- yarn nx format:check
pnpm nx-cloud record -- pnpm nx format:check
parallel-commands-on-agents: |
yarn nx affected --target=lint --parallel=3
yarn nx affected --target=test --parallel=3 --ci --code-coverage
yarn nx affected --target=build --parallel=3
pnpm nx affected --target=lint --parallel=3
pnpm nx affected --target=test --parallel=3 --ci --code-coverage
pnpm nx affected --target=build --parallel=3
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.1
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.15.0
with:
number-of-agents: 3
8 changes: 4 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn verify-yarn-lock
yarn sync-readmes --check
yarn sync-schemas --check
yarn lint-staged
pnpm verify-pnpm-lock
pnpm sync-readmes --check
pnpm sync-schemas --check
pnpm lint-staged
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn nx format:check
pnpm nx format:check
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
/coverage
tmp
/.yarn
pnpm-lock.yaml

.nx/cache
# Ignore generated schema files in packages
/packages/*/src/generators/**/*-schema.d.ts

/.nx/workspace-data
/.nx/workspace-data
Loading

0 comments on commit 992a701

Please sign in to comment.