Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
1cef640
feat!: switch from npm to pnpm
sorccu May 8, 2026
e001bed
fix(cli): use pnpm instead of npx in test fixtures
sorccu May 8, 2026
3a24da8
fix(cli): add string-width and ast-types as explicit dependencies
sorccu May 13, 2026
9fb818b
fix: serialize pnpm lifecycle scripts to prevent race conditions
sorccu May 13, 2026
f730a5a
refactor(cli): convert check-parse-error e2e test to use FixtureSandbox
sorccu May 13, 2026
aa2eca3
test(create-cli): log stderr when bootstrap e2e stdout is empty
sorccu May 13, 2026
9e4f082
fix(create-cli): force npm in e2e tests to avoid pnpm workspace detec…
sorccu May 13, 2026
bbf3de0
fix(create-cli): fix playwright config e2e test prompt injection
sorccu May 13, 2026
9aa26e8
fix(create-cli): stop injecting jiti into scaffolded project dependen…
sorccu May 13, 2026
ad5a187
fix(cli): update pw-test e2e assertions for pnpm testCommand
sorccu May 13, 2026
3de3840
refactor: decouple skills/ sync from prepare lifecycle
sorccu May 13, 2026
e4d7250
perf(cli): optimize test fixtures with FixtureTemplate
sorccu May 12, 2026
b6f4fc4
perf(cli): use FixtureTemplate in e2e tests
sorccu May 14, 2026
61a30b5
fix(cli): use pnpm in e2e tests and add lockfiles to fixtures
sorccu May 14, 2026
4def6c6
refactor(cli): add FixtureTemplate.use() and simplify template usage
sorccu May 14, 2026
c5119b3
fix(cli): use dedicated template for pinned playwright version in pw-…
sorccu May 14, 2026
689eebc
perf(cli): create fixture templates serially for better cache reuse
sorccu May 14, 2026
05d8067
refactor(cli): prepare FixtureSandbox for runChecklyCli migration
sorccu May 14, 2026
ab4e30e
refactor(cli): migrate all e2e tests from runChecklyCli to FixtureSan…
sorccu May 14, 2026
7011d29
fix(cli): write package.json in sourceless fixture sandboxes
sorccu May 14, 2026
255743b
fix(cli): fix e2e test migration issues
sorccu May 14, 2026
0066495
fix(cli): unset CI env var in e2e test helper
sorccu May 14, 2026
5de4abf
fix(cli): force interactive CLI mode in e2e tests
sorccu May 14, 2026
fde2775
fix(cli): add .js extension to oclif helpClass path
sorccu May 15, 2026
bafdd21
fix(cli): run CLI via node instead of pnpm in e2e tests
sorccu May 15, 2026
e756c30
fix(cli): use real CLI path instead of junction path in e2e tests
sorccu May 15, 2026
b4584d1
fix(cli): use stripped env in e2e tests to match old runChecklyCli
sorccu May 15, 2026
25f1a4b
fix(cli): pass API keys via checklyEnv in direct fixt.run callers
sorccu May 15, 2026
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: 7 additions & 6 deletions .github/workflows/check-ai-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v5
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: package-lock.json
- run: npm config set fund false && npm set audit false
- run: npm ci
- run: npm run prepare
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run sync:skills
- name: Check for uncommitted changes in skills/
run: git diff --exit-code skills/
- name: Comment on PR if skills/ is out of date
Expand All @@ -37,5 +38,5 @@ jobs:
Please run the following locally and commit the changes:

\`\`\`
npm run prepare
pnpm run sync:skills
\`\`\`"
14 changes: 7 additions & 7 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v5
with:
version: 10
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Upgrade npm for trusted publishing support
run: |
npm install -g npm@latest
echo "npm version: $(npm --version)"
cache: "pnpm"
# Extract the dynamic value from the canary label if present
- name: Extract CANARY_TAG
id: extract-canary
Expand All @@ -36,11 +36,11 @@ jobs:
# Ensure that the README is published with the package
- run: rm -f packages/cli/README.md && cp README.md packages/cli
- run: echo "PR_VERSION=0.0.0-pr.${{github.event.pull_request.number}}.$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- run: npm ci
- run: npm version ${{ env.PR_VERSION }} --workspace packages/cli
- run: pnpm install --frozen-lockfile
- run: pnpm --filter checkly version ${{ env.PR_VERSION }} --no-git-tag-version
# Publish to npm with the additional tag if CANARY_TAG is set
- run: |
npm publish --workspace packages/cli --tag experimental
pnpm --filter checkly publish --tag experimental --no-git-checks
if [[ -n "$CANARY_TAG" ]]; then
echo "Publishing with additional tag: $CANARY_TAG"
npm dist-tag add checkly@$PR_VERSION $CANARY_TAG
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release-create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v5
with:
version: 10
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --workspace packages/create-cli
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm --filter create-checkly publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Slack failure alert
Expand Down
44 changes: 18 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v5
with:
version: 10
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Upgrade npm for trusted publishing support
run: |
npm install -g npm@latest
echo "npm version: $(npm --version)"
cache: "pnpm"
# Ensure that the README is published with the package
- run: rm -f packages/cli/README.md && cp README.md packages/cli
- run: npm ci
- run: pnpm install --frozen-lockfile
- name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set version and publish prerelease for 'cli' package
run: |
npm --no-git-tag-version version ${{ github.event.release.tag_name }}-prerelease-${{ env.SHORT_SHA }} --workspace packages/cli
npm publish --provenance --workspace packages/cli --tag prerelease
pnpm --filter checkly version ${{ github.event.release.tag_name }}-prerelease-${{ env.SHORT_SHA }} --no-git-tag-version
pnpm --filter checkly publish --provenance --tag prerelease --no-git-checks
- name: Set version and publish prerelease for 'create-cli' package
run: |
npm --no-git-tag-version version ${{ github.event.release.tag_name }}-prerelease-${{ env.SHORT_SHA }} --workspace packages/create-cli
npm publish --provenance --workspace packages/create-cli --tag prerelease
- name: Output prerelease packages versions
run: |
npm pkg get version --workspace packages/cli
npm pkg get version --workspace packages/create-cli
pnpm --filter create-checkly version ${{ github.event.release.tag_name }}-prerelease-${{ env.SHORT_SHA }} --no-git-tag-version
pnpm --filter create-checkly publish --provenance --tag prerelease --no-git-checks
- name: Save LLM rules as an artifact
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -103,29 +99,25 @@ jobs:
- uses: actions/checkout@v3
with:
ref: main
- uses: pnpm/action-setup@v5
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Upgrade npm for trusted publishing support
run: |
npm install -g npm@latest
echo "npm version: $(npm --version)"
cache: "pnpm"
# Ensure that the README is published with the package
- run: rm -f packages/cli/README.md && cp README.md packages/cli
- run: npm ci
- run: pnpm install --frozen-lockfile
- name: Set version and publish 'cli' package
run: |
npm --no-git-tag-version version ${{ github.event.release.tag_name }} --workspace packages/cli
npm publish --provenance --workspace packages/cli
pnpm --filter checkly version ${{ github.event.release.tag_name }} --no-git-tag-version
pnpm --filter checkly publish --provenance --no-git-checks
- name: Set version and publish 'create-cli' package
run: |
npm --no-git-tag-version version ${{ github.event.release.tag_name }} --workspace packages/create-cli
npm publish --provenance --workspace packages/create-cli
- name: Output final packages versions
run: |
npm pkg get version --workspace packages/cli
npm pkg get version --workspace packages/create-cli
pnpm --filter create-checkly version ${{ github.event.release.tag_name }} --no-git-tag-version
pnpm --filter create-checkly publish --provenance --no-git-checks
- name: Save LLM rules as an artifact
uses: actions/upload-artifact@v4
with:
Expand Down
45 changes: 21 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v5
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: package-lock.json
- run: npm config set fund false && npm set audit false
- run: npm ci
cache: "pnpm"
- run: pnpm install --frozen-lockfile
# Test that the packaging works as well
- run: npm pack --workspaces
- run: npm run lint
- run: pnpm -r pack
- run: pnpm run lint
test:
strategy:
fail-fast: false
Expand All @@ -30,18 +31,16 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: package-lock.json
- uses: pnpm/action-setup@v5
with:
version: 10
- run: npm config set fund false && npm set audit false
- run: npm ci
- run: npm run prepack
- run: npm run test
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run prepack
- run: pnpm run test
- name: Save LLM rules as an artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -58,18 +57,16 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: package-lock.json
- uses: pnpm/action-setup@v5
with:
version: 10
- run: npm config set fund false && npm set audit false
- run: npm ci
- run: npm run prepack
- run: npm run test:e2e
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run prepack
- run: pnpm run test:e2e
env:
CHECKLY_ACCOUNT_NAME: ${{ secrets.E2E_CHECKLY_ACCOUNT_NAME }}
CHECKLY_ACCOUNT_ID: ${{ secrets.E2E_CHECKLY_ACCOUNT_ID }}
Expand Down
Loading
Loading