Skip to content

Bump undici from 5.28.2 to 5.28.3 (#110) #158

Bump undici from 5.28.2 to 5.28.3 (#110)

Bump undici from 5.28.2 to 5.28.3 (#110) #158

Workflow file for this run

---
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