Add validation to TSP responses #303
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: Tenant Security Client NodeJS CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: [20, 22, 24] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.version }} | |
| - name: build and unit test | |
| run: yarn && yarn build | |
| - name: Save TSP env.integration to a file | |
| run: | | |
| cat > .env.integration <<EOF | |
| ${{ secrets.TSP_ENV_INTEGRATION }} | |
| EOF | |
| - name: Start the TSP | |
| uses: IronCoreLabs/workflows/.github/actions/start-tsp@start-tsp-v1 | |
| with: | |
| gcloud-auth: ${{ secrets.GCLOUD_AUTH }} | |
| env-file-path: .env.integration | |
| - name: integration test | |
| run: env $(cat .env.integration) yarn integration | |
| build_examples: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| example-dir: | |
| [ | |
| large-documents, | |
| logging-example, | |
| rekey-example, | |
| simple-roundtrip, | |
| deterministic-roundtrip, | |
| ] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: compilation check | |
| run: | | |
| yarn | |
| yarn tsc --target ES6 --sourceMap false --module CommonJS --outDir ./dist/src src/index.ts | |
| working-directory: ./examples/${{ matrix.example-dir }} |