DBZ-8589 Use latest tag for conductor image #6
This file contains 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: Test Debezium platform (stage) | |
on: | |
push: | |
paths: | |
- "debezium-platform-stage/**" | |
branches: | |
- main | |
pull_request: | |
paths: | |
- "debezium-platform-stage/**" | |
branches: | |
- main | |
jobs: | |
tests: | |
name: "Run tests" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: debezium-platform-stage | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache Yarn dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.yarn/cache | |
debezium-platform-stage/node_modules | |
key: ${{ runner.os }}-node-${{ matrix.node-version }}-yarn-${{ hashFiles('debezium-platform-stage/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node-${{ matrix.node-version }}-yarn- | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
# Uncomment if you want to run linting | |
# - name: Run lint | |
# id: lint | |
# run: yarn lint | |
- name: Run tests | |
run: yarn test |