Merge pull request #46 from atxp-dev/claude/update-atxp-llm-gateway-v… #143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Node.js Tests | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| cache: 'npm' | |
| registry-url: 'https://registry.npmjs.org' # Added this line | |
| - name: Install dependencies with rollup workaround | |
| run: npm ci | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| - name: Run build | |
| run: npm run build | |
| - name: Run typecheck | |
| run: npm run typecheck | |
| - name: Run lint | |
| run: npm run lint | |
| - name: Run tests | |
| run: npm test |