feat(shell): add env parameter to /v1/shell/exec endpoint #18
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: SDK CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'sdk/js/**' | |
| - '.github/workflows/sdk-ci.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'sdk/js/**' | |
| - '.github/workflows/sdk-ci.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| js-sdk: | |
| name: JS SDK | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build JS SDK | |
| run: pnpm build | |
| working-directory: sdk/js | |
| - name: Run tests | |
| run: pnpm test | |
| working-directory: sdk/js |