Skip to content

Update dependency msw to v2.6.0 #7506

Update dependency msw to v2.6.0

Update dependency msw to v2.6.0 #7506

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
merge_group:
permissions:
contents: read
actions: write
checks: write
env:
# Skip Cypress installation in the whole workflow, not necessary here
CYPRESS_INSTALL_BINARY: 0
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
code_validation:
strategy:
fail-fast: false
matrix:
validation_script:
[
'lint',
'type-check',
'type-check:cypress',
'format:check',
'test:ci',
]
name: 'Code Validation: ${{ matrix.validation_script }}'
runs-on: ubuntu-latest
steps:
# Arrange
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
# Act
- name: Run script
run: pnpm ${{ matrix.validation_script }}
- name: Upload coverage reports
if: matrix.validation_script == 'test:ci'
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}