Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Enable corepack and pnpm
run: |
corepack enable
corepack prepare pnpm@9 --activate
pnpm -v
node -v
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9

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

- name: Install
run: pnpm install
Expand All @@ -102,4 +106,3 @@ jobs:

- name: Test ${{ matrix.package }}
run: cd ./packages/${{ matrix.package }} && pnpm test

17 changes: 10 additions & 7 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Enable corepack and pnpm
run: |
corepack enable
corepack prepare pnpm@9 --activate
pnpm -v
node -v
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9

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

- name: Install
run: pnpm install
Expand All @@ -74,4 +78,3 @@ jobs:

- name: Run Integration Tests
run: ./scripts/test-all-packages.js

3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends ca-certificates curl git; \
update-ca-certificates || true; \
corepack enable; \
corepack prepare pnpm@10.12.2 --activate; \
npm install -g pnpm@10.12.2; \
rm -rf /var/lib/apt/lists/*

# Copy workspace (build context is the repo root of pgpm-modules)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"publishConfig": {
"access": "restricted"
},
"packageManager": "pnpm@10.12.2",
"workspaces": [
"packages/*"
],
Expand Down
Loading