Skip to content

Commit 58a0aa1

Browse files
authored
Merge pull request #7 from railwayapp/mikewesthad/ci-checks
Add typecheck + test + build to CI
2 parents a2a3f89 + c504932 commit 58a0aa1

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/checks.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Checks
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Install pnpm
17+
uses: pnpm/action-setup@v4
18+
19+
- name: Use Node.js 22
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
cache: "pnpm"
24+
25+
- name: Install dependencies
26+
run: pnpm install --frozen-lockfile
27+
28+
# Typescript needs to be fixed
29+
# - name: Run type checking
30+
# run: pnpm typecheck
31+
32+
- name: Run tests
33+
run: pnpm test:run
34+
35+
- name: Build
36+
run: pnpm build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"railway-mcp-server": "dist/index.js"
2424
},
2525
"main": "dist/index.js",
26-
"packageManager": "pnpm@10.14.0",
26+
"packageManager": "pnpm@9.15.2",
2727
"scripts": {
2828
"dev": "tsdown --watch --on-success \"chmod 755 dist/index.js\"",
2929
"build": "tsdown && chmod 755 dist/index.js",

0 commit comments

Comments
 (0)