Bump picomatch from 2.3.1 to 2.3.2 in /javascript/sdk #800
Workflow file for this run
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: Test JavaScript SDK | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-js: | |
| name: test javascript sdk | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Install SDK dependencies | |
| working-directory: ./javascript/sdk | |
| run: | | |
| npm install | |
| - name: Install backend mock dependencies | |
| working-directory: ./test | |
| run: npm install | |
| - name: Start backend mock | |
| working-directory: ./test | |
| run: node src/index.js & | |
| - name: Run tests and generate reports | |
| working-directory: ./javascript/sdk | |
| run: npm run test | |
| - name: Archive reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: js-test-reports | |
| path: javascript/testreports |