Skip to content

github-actions (master): bump the production-dependencies group with … #357

github-actions (master): bump the production-dependencies group with …

github-actions (master): bump the production-dependencies group with … #357

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
# file-version: 1.0
name: "Continuous Integration"
on:
- pull_request
- push
permissions:
contents: read
security-events: read
issues: read
pull-requests: read
checks: read
concurrency:
group: "${{ github.event_name }}-${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
validate-all:
name: "Validate Project"
uses: "mimmi20/ci/.github/workflows/validate-all.yml@master"
with:
skip-validate-yaml: false
skip-validate-md: false
install:
name: "Install Project"
needs:
- "validate-all"
uses: "mimmi20/ci/.github/workflows/install-node.yml@master"
with:
skip-nasm-install: true
skip-libimagequant-install: true
skip-libpng-install: true
skip-librabbitmq-install: true
skip-libgif-install: true
analytics:
name: "Project Analysis"
permissions:
security-events: write
id-token: write
contents: read
issues: read
pull-requests: read
checks: read
needs: "install"
uses: "mimmi20/ci/.github/workflows/analytics-node.yml@master"
with:
skip-eslint: false
skip-stylelint: true
skip-prettier: false
skip-nasm-install: true
skip-libimagequant-install: true
skip-libpng-install: true
skip-librabbitmq-install: true
skip-libgif-install: true
skip-oxlint: true
tests:
name: "UnitTests"
needs: "analytics"
uses: "mimmi20/ci/.github/workflows/test-node.yml@master"
with:
coverage: "xdebug"
test-name: ""
skip-vitest: false
skip-stryker: true
skip-nasm-install: true
skip-libimagequant-install: true
skip-libpng-install: true
skip-librabbitmq-install: true
skip-libgif-install: true
upload-codecov: false
upload-codeclimate: false
upload-coveralls: false
upload-flag: ""
secrets:
ENV_CODECLIMATE_API_KEY: ${{ secrets.CODECLIMATE_API_KEY }}
ENV_CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
ENV_STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
# This is a meta job to avoid to have to constantly change the protection rules
# whenever we touch the matrix.
tests-status:
name: "CI Status"
runs-on: "ubuntu-latest"
if: always()
needs:
- "tests"
steps:
- name: Failing run
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled') }}
run: exit 1
- name: Successful run
if: ${{ !(contains(needs.*.result, 'failure')) && !(contains(needs.*.result, 'skipped')) && !(contains(needs.*.result, 'cancelled')) }}
run: exit 0