Skip to content

Update dependency tsx to v4.15.7 - autoclosed #6938

Update dependency tsx to v4.15.7 - autoclosed

Update dependency tsx to v4.15.7 - autoclosed #6938

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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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 }}