E2E Kubernetes #469
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: E2E Kubernetes | |
| on: | |
| # NOTE: If you change these you must update verify_kubernetes-noop.yml as well | |
| pull_request: | |
| paths: | |
| - 'yarn.lock' | |
| - '.github/workflows/verify_kubernetes.yml' | |
| - 'packages/backend-common/src/**' | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [16.x, 18.x] | |
| env: | |
| CI: true | |
| KUBERNETES_TESTS: true | |
| name: Kubernetes ${{ matrix.node-version }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: use node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| registry-url: https://registry.npmjs.org/ # Needed for auth | |
| - name: yarn install | |
| uses: backstage/actions/yarn-install@v0.6.4 | |
| with: | |
| cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }} | |
| - name: bootstrap kind | |
| uses: helm/kind-action@v1.7.0 | |
| - name: kubernetes test | |
| working-directory: packages/backend-common | |
| run: yarn test:kubernetes |