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
28 changes: 27 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ jobs:
- run: npm run --if-present dep-check
- run: npm run --if-present doc-check

test-iso:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@main
- run: npm run --if-present test:iso
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
flags: iso
files: .coverage/*,packages/*/.coverage/*

test-node:
needs: build
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -232,7 +247,18 @@ jobs:
release-please:
runs-on: ubuntu-latest
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && github.ref == 'refs/heads/main'
needs: [ build, check ]
needs: [
check,
test-iso,
test-node,
test-chrome,
test-chrome-webworker,
test-firefox,
test-firefox-webworker,
test-electron-main,
test-electron-renderer,
test-local-binary
]
permissions:
contents: write # to create release
pull-requests: write # to create release PR
Expand Down
2 changes: 1 addition & 1 deletion src/lib/path-or-subdomain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const toSubdomainRequest = (location: Pick<Location, 'protocol' | 'host'
}
break
default:
throw new InvalidParametersError('Unknown namespace: "' + ns + '"')
// ignore unknown namespaces
}

const remainingPath = `/${segments.slice(2).join('/')}`
Expand Down