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
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- uses: ./.github/actions/setup-mise
- name: Enable RabbitMQ consistent hash exchange plugin
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_consistent_hash_exchange
- run: mise run test:deno -- --coverage=.cov --junit-path=.test-report.xml
- run: mise run --skip-deps test:deno -- --coverage=.cov --junit-path=.test-report.xml
env:
RUST_BACKTRACE: ${{ runner.debug }}
LOG: ${{ runner.debug && 'always' || '' }}
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- uses: ./.github/actions/setup-mise
- name: Enable RabbitMQ consistent hash exchange plugin
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_consistent_hash_exchange
- run: mise run test:node
- run: mise run --skip-deps test:node
env:
AMQP_ORDERING_TEST: "true"

Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
- uses: ./.github/actions/setup-mise
- name: Enable RabbitMQ consistent hash exchange plugin
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_consistent_hash_exchange
- run: mise run test:bun
- run: mise run --skip-deps test:bun
env:
AMQP_ORDERING_TEST: "true"

Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
working-directory: ${{ github.workspace }}/packages/fedify/
- run: mise run codegen
- run: deno publish --dry-run
- run: pnpm publish --recursive --dry-run --no-git-checks
- run: pnpm publish --recursive --dry-run --no-git-checks --ignore-scripts

# ===========================================================================
# PR-only jobs: Validate CLI and docs build
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
- uses: ./.github/actions/determine-version
- run: sudo npm install -g npm@latest && npm --version
- run: |
pnpm pack --recursive --filter='!./examples/**'
pnpm pack --recursive --filter='!./examples/**' --config.enable-pre-post-scripts=false
# Remove private packages
for pkg in fedify-*.tgz; do
if tar -xOzf "$pkg" package/package.json | jq -e '.private == true' > /dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
head_sha: ${{ needs.get-pr-info.outputs.head_sha }}
- run: sudo npm install -g npm@latest && npm --version
- run: |
pnpm pack --recursive --filter='!./examples/**'
pnpm pack --recursive --filter='!./examples/**' --config.enable-pre-post-scripts=false
# Remove private packages and CLI package
for pkg in fedify-*.tgz; do
if tar -xOzf "$pkg" package/package.json | jq -e '.private == true' > /dev/null 2>&1; then
Expand Down
4 changes: 2 additions & 2 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ run = "deno test --check --doc --allow-all --unstable-kv --trace-leaks --paralle
[tasks."test:node"]
description = "Run the test suite using Node.js"
depends = ["prepare"]
run = "pnpm run --recursive --filter '!{docs}' --config.enable-pre-post-scripts=false test"
run = "pnpm run --recursive --parallel --filter '!{docs}' --config.enable-pre-post-scripts=false test"

[tasks."test:bun"]
description = "Run the test suite using Bun"
depends = ["prepare"]
run = "pnpm run --recursive --filter '!{docs}' --config.enable-pre-post-scripts=false test:bun"
run = "pnpm run --recursive --parallel --filter '!{docs}' --config.enable-pre-post-scripts=false test:bun"

[tasks.test]
description = "Run the test suite across all environments (Deno, Node.js, Bun)"
Expand Down
Loading