[npm dev]: Bump @typescript-eslint/eslint-plugin from 5.60.1 to 6.9.1 #420
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 default branch | |
on: | |
push: | |
branches: [development] | |
pull_request: | |
branches: [development] | |
# To auto-approve Dependabot-created PRs, the workflow needs permissions to | |
# modify Pull Requests | |
permissions: | |
pull-requests: write | |
jobs: | |
linting: | |
name: Run Linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run all Linters | |
run: make ci/linting | |
testing: | |
name: Tests (${{ matrix.os }}, ${{ matrix.node-version }}) | |
needs: linting | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
node-version: [12.x, 14.x, 16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup OS ${{ matrix.os }} - Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Tests | |
run: make ci/coverage | |
- name: Prepare Coverage Result | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: OS-${{ matrix.os }}_Node-${{ matrix.node-version }} | |
path-to-lcov: ./src/.coverage/lcov.info | |
parallel: true | |
# If the workflow is run because of a Dependabot-created PR, automatically | |
# approve the PR if it is a minor/patch update of a dependency. | |
# This requires the completion of the ``testing`` step. | |
# This assumes, that Dependabot is creating its pull requests against the | |
# repository's default branch, which is protected and requires an actual | |
# approval. | |
dependabot: | |
name: Dependabot (auto approve) | |
needs: testing | |
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update Metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v1.6.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Automatically approve minor and patch updates | |
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }} | |
run: gh pr review --approve "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
finish: | |
name: Finish | |
needs: testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Publish Results to Coveralls.io | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./src/.coverage/lcov.info | |
parallel-finished: true | |