name: Node workflow on: pull_request: branches: - main - develop - verbose paths-ignore: - '**.md' - 'examples/**' push: branches: - main - develop - verbose paths-ignore: - '**.md' - 'examples/**' permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: run: name: Run environment: codecov runs-on: ${{ matrix.operating-system }} strategy: fail-fast: false matrix: operating-system: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 with: fetch-depth: 2 persist-credentials: false - name: Setup Node.js 24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: 24.x - name: Install dependencies run: npm install - name: Prettier Format Check run: npm run format-check - name: ESLint Check run: npm run lint - name: Run tests run: npm test - name: Run npm audit run: npm audit - name: Send Coverage uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v6 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage/lcov.info name: github-actions-codecov-${{ matrix.operating-system }} fail_ci_if_error: false verbose: true