Vision API Node.js client 1.0.0 #1
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # 18.17 is the floor the package declares; test the ends of the range. | |
| node: ['18.17', '20', '22', '24'] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm install | |
| - run: npm run typecheck | |
| # The suite stubs `fetch`, so it needs no API key and makes no network calls. | |
| - run: npm test |