[release-v1.18] Update quay.io/konflux-ci/konflux-vanguard/task-rpms-signature-scan:0.2 Docker digest to 0b10508 #1139
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: Backstage unit tests | |
| on: | |
| pull_request: | |
| branches: | |
| - 'release-*' | |
| jobs: | |
| unit-tests: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: 'backstage/.nvmrc' | |
| cache: 'yarn' | |
| cache-dependency-path: 'backstage/yarn.lock' | |
| - name: Print environment | |
| run: | | |
| node --version | |
| yarn --version | |
| - name: Install dependencies | |
| shell: bash | |
| working-directory: ./backstage | |
| run: yarn --prefer-offline --frozen-lockfile | |
| - name: Run tests | |
| shell: bash | |
| working-directory: ./backstage | |
| run: | | |
| export PATH="./node_modules/.bin/:$PATH" | |
| yarn test | |