Skip to content

Commit ffd8a79

Browse files
committed
add the ci workflow
1 parent bde6b36 commit ffd8a79

4 files changed

Lines changed: 3897 additions & 7899 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Node.js CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Use Node.js 20
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 20.x
22+
23+
- name: Install dependencies
24+
run: yarn
25+
26+
- name: Build the project
27+
run: yarn build

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ Pull requests are welcomed on GitHub! To get started:
9191

9292
- Install Git and Node.js
9393
- Clone the repository
94-
- Install dependencies with `npm install`
95-
- Build with `npm run build`
94+
- Install dependencies with `yarn`
95+
- Build with `yarn build`
9696

9797
Built on the [XMCP](https://github.com/basementstudio/xmcp) framework, you can add new tools by adding a new file to the `src/tools` directory and documenting it in the `manifest.json` file.
9898

0 commit comments

Comments
 (0)