Skip to content
Merged
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
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Patch package manager protocol
# Converts pnpm's "workspace:*" to npm's "*" natively so npm install doesn't crash
run: find . -name "package.json" -not -path "*/node_modules/*" -exec sed -i 's/"workspace:\*"/"*"/g' {} +

- name: Install dependencies
run: pnpm install --frozen-lockfile
# Replaced 'npm ci' with 'npm install' to allow the patched workspaces to link properly
run: npm install

- name: Build workspace packages
run: pnpm --filter @guildpass/integration-client build --if-present
Expand All @@ -48,9 +53,11 @@ jobs:
- name: Run build
run: pnpm build

- name: Run documentation build
run: npm run build:docs

- name: Run linting
run: pnpm lint

- name: Run typecheck
run: pnpm typecheck

run: npm run typecheck