Add Connect Tools section to TOC on Redpanda Connect pages (#363) #86
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: Bloblang Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'blobl-editor/**' | |
| - 'src/static/blobl.wasm' | |
| - 'src/js/vendor/wasm_exec.js' | |
| - 'src/js/16-bloblang-interactive.js' | |
| - 'src/js/17-bloblang-yaml.js' | |
| - 'src/css/bloblang-interactive.css' | |
| - 'src/static/bloblang-docs.json' | |
| - 'tests/bloblang-playground/**' | |
| - 'tests/bloblang-interactive/**' | |
| - 'gulpfile.js' | |
| - '.github/workflows/test-bloblang-playground.yml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'blobl-editor/**' | |
| - 'src/static/blobl.wasm' | |
| - 'src/js/vendor/wasm_exec.js' | |
| - 'src/js/16-bloblang-interactive.js' | |
| - 'src/js/17-bloblang-yaml.js' | |
| - 'src/css/bloblang-interactive.css' | |
| - 'src/static/bloblang-docs.json' | |
| - 'tests/bloblang-playground/**' | |
| - 'tests/bloblang-interactive/**' | |
| - 'gulpfile.js' | |
| - '.github/workflows/test-bloblang-playground.yml' | |
| workflow_dispatch: | |
| jobs: | |
| test-bloblang-playground: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18.x' | |
| cache: 'npm' | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25.x' | |
| - name: Cache Go modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cache/go-build | |
| ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-1.25.x-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go-1.25.x- | |
| - name: Install dependencies | |
| run: | | |
| npm ci | |
| cd blobl-editor/wasm && go mod download | |
| - name: Lint Go code | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| working-directory: blobl-editor/wasm | |
| env: | |
| GOOS: js | |
| GOARCH: wasm | |
| - name: Build and Test Playground | |
| run: npx gulp test:build | |
| - name: Test Interactive Features | |
| run: npm run test:interactive | |
| - name: Upload playground test results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-results-playground | |
| path: test-results.json | |
| - name: Upload interactive test results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-results-interactive | |
| path: test-results-interactive.json | |