Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pamella committed Jan 16, 2024
1 parent 878b038 commit 09655f3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,27 @@ on:
pull_request:
branches: [main]
push:
branches: [main]
branches: [main, pnpm-setup]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'pnpm'

- name: Install Dependencies
run: npm ci
run: pnpm install

- name: Run Tests
run: npm test
run: pnpm run test
3 changes: 2 additions & 1 deletion packages/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"baseUrl": ".",
"noEmit": false,
"emitDeclarationOnly": true
}
},
"composite": true
}
3 changes: 2 additions & 1 deletion packages/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"baseUrl": ".",
"noEmit": false,
"emitDeclarationOnly": true
}
},
"composite": true
}
3 changes: 3 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"paths": {
"@ai-form-toolkit/*": ["./packages/*/src"],
"@docs/*": ["./docs/src"]
},
"atom": {
"rewriteTsconfig": true
}
}
}

0 comments on commit 09655f3

Please sign in to comment.