Add EventSourceUrl.test.js #48
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: Param builder NodeJS CI | |
| on: | |
| push: | |
| paths: | |
| - 'nodejs/**' | |
| tags-ignore: | |
| - 'v*' # Ignores version tag pushes | |
| branches: | |
| - '**' | |
| pull_request: | |
| paths: | |
| - 'nodejs/**' | |
| workflow_dispatch: # Enables manual trigger | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: nodejs/capi-param-builder | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x, 22.x] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm test |