mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-05-31 00:38:06 +07:00
Bumps the github-actions group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `github/codeql-action` from 4.35.5 to 4.36.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](9e0d7b8d25...7211b7c807) Updates `codecov/codecov-action` from 6.0.0 to 6.0.1 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](57e3a136b7...e79a6962e0) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.36.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: codecov/codecov-action dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 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@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
files: coverage/lcov.info
|
|
name: github-actions-codecov-${{ matrix.operating-system }}
|
|
fail_ci_if_error: false
|
|
verbose: true
|