build(deps): bump undici from 5.28.3 to 5.28.4 #20
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: π CI | |
on: | |
push: | |
pull_request: | |
types: | |
- reopened | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: π§ͺ Test the application | |
strategy: | |
max-parallel: 4 | |
matrix: | |
node-version: ['18.19.0'] | |
steps: | |
- name: π Checkout repository | |
uses: actions/checkout@v3 | |
- name: π¦ Install Node.js (${{ matrix.node-version }}) | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: π Enable corepack | |
run: corepack enable | |
- name: π¦ Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π¦ Install Chromium | |
run: pnpm exec playwright-core install chromium | |
- name: π§ͺ Run tests | |
run: | | |
pnpm run dev:prepare | |
pnpm run test | |
pnpm run lint | |
upload: | |
runs-on: ubuntu-latest | |
name: π Upload coverage report | |
strategy: | |
max-parallel: 4 | |
matrix: | |
node-version: ['18.19.0'] | |
steps: | |
- name: π Checkout repository | |
uses: actions/checkout@v3 | |
- name: π¦ Install Node.js (${{ matrix.node-version }}) | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: π Enable corepack | |
run: corepack enable | |
- name: π¦ Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π¦ Install Chromium | |
run: pnpm exec playwright-core install chromium | |
- name: π Generate coverage report | |
run: | | |
pnpm run dev:prepare | |
pnpm run coverage | |
- name: π Upload coverage report to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: π Upload coverage report to Code Climate | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
with: | |
coverageCommand: pnpm run coverage | |
coverageLocations: coverage/cobertura-coverage.xml:cobertura |