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
36 changes: 36 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Checks

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

# Typescript needs to be fixed
# - name: Run type checking
# run: pnpm typecheck

- name: Run tests
run: pnpm test:run

- name: Build
run: pnpm build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"railway-mcp-server": "dist/index.js"
},
"main": "dist/index.js",
"packageManager": "pnpm@10.14.0",
"packageManager": "pnpm@9.15.2",
"scripts": {
"dev": "tsdown --watch --on-success \"chmod 755 dist/index.js\"",
"build": "tsdown && chmod 755 dist/index.js",
Expand Down