Polish README installation guidance and bump package version to 1.0.1. #13
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 API CI | |
| on: | |
| push: | |
| branches: [ main, master, unstable ] | |
| pull_request: | |
| branches: [ main, master, unstable ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| strategy: | |
| matrix: | |
| node-version: [18, 20, 22] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| cache-dependency-path: ./package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run offline smoke tests | |
| run: npm run test:offline | |
| - name: Validate package entry point | |
| run: node -e "const sdk=require('./'); if (typeof sdk !== 'function') process.exit(1); console.log('entry point OK')" |