Skip to content

Commit b8fd66c

Browse files
Merge pull request #2 from palfrey/fix-workflows
2 parents 20e9fd3 + 44f7478 commit b8fd66c

4 files changed

Lines changed: 1681 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212

1313
strategy:
1414
matrix:
@@ -35,13 +35,13 @@ jobs:
3535
run: node dist/index.js --help
3636

3737
- name: Upload build artifacts
38-
uses: actions/upload-artifact@v3
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: dist-${{ matrix.node-version }}
4141
path: dist/
4242

4343
test-mcp:
44-
runs-on: ubuntu-latest
44+
runs-on: ubuntu-24.04
4545
needs: build
4646

4747
steps:
@@ -61,6 +61,7 @@ jobs:
6161
- name: Test with MCP Inspector
6262
run: |
6363
npx @modelcontextprotocol/inspector node dist/index.js &
64-
sleep 5
65-
kill %1
66-
continue-on-error: true
64+
curl -O https://raw.githubusercontent.com/vishnubob/wait-for-it/refs/heads/master/wait-for-it.sh
65+
chmod +x wait-for-it.sh
66+
./wait-for-it.sh --timeout=240 -h localhost -p 6274
67+
curl -v http://localhost:6277/config

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
publish:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010

1111
steps:
1212
- uses: actions/checkout@v3

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ logs/
2929
# Testing
3030
coverage/
3131
.nyc_output/
32+
wait-for-it.sh
3233

3334
# Package manager
34-
package-lock.json
3535
yarn.lock
3636
pnpm-lock.yaml

0 commit comments

Comments
 (0)