Bump undici from 5.28.2 to 5.28.3 #157
Workflow file for this run
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: Unit Tests | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache yarn dependencies | |
id: yarn-cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.yarn/cache | |
node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/.yarnrc.yml') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Compile | |
if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }} | |
run: yarn install | |
- name: Unit tests | |
run: yarn test | |
if: github.ref != 'refs/heads/main' | |
- name: Unit tests with coverage | |
uses: paambaati/[email protected] | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
with: | |
coverageCommand: yarn test | |
debug: true |