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
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
# --ignore-scripts: n8n-workflow pulls isolated-vm, a native module whose
# node-gyp build fails on Node 20 runners. We only need n8n-workflow's
# TYPES to typecheck/test/build this node, never a compiled VM, so
# skipping install scripts avoids an irrelevant native compile.
- run: npm ci --ignore-scripts
- run: npm run typecheck
- run: npm test
- run: npm run build
10 changes: 1 addition & 9 deletions credentials/WellMarkedApi.credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ export class WellMarkedApi implements ICredentialType {
description:
'Your WellMarked API key (starts with <code>wm_</code>). Get one at https://wellmarked.io.',
},
{
displayName: 'Base URL',
name: 'baseUrl',
type: 'string',
default: 'https://api.wellmarked.io',
description:
'API base URL. Only change this if you are pointing the node at a self-hosted or staging WellMarked instance.',
},
];

// Injects `Authorization: Bearer wm_...` on every request the node makes.
Expand All @@ -48,7 +40,7 @@ export class WellMarkedApi implements ICredentialType {
// and does not count against the user's monthly quota.
test: ICredentialTestRequest = {
request: {
baseURL: '={{$credentials.baseUrl}}',
baseURL: 'https://api.wellmarked.io',
url: '/usage',
method: 'GET',
},
Expand Down
Loading