build(deps-dev): Bump the vitest group across 1 directory with 3 updates #615
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
# Integrity Check | |
# | |
# References: | |
# | |
# - https://docs.github.com/actions/learn-github-actions/contexts | |
# - https://docs.github.com/actions/learn-github-actions/expressions | |
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#pull_request | |
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#push | |
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch | |
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request | |
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#push | |
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch | |
# - https://github.com/actions/checkout | |
# - https://yarnpkg.com/cli/dedupe | |
--- | |
name: integrity | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/integrity.yml | |
- .yarnrc.yml | |
- yarn.lock | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/integrity.yml | |
- .yarnrc.yml | |
- yarn.lock | |
workflow_dispatch: | |
permissions: | |
packages: read | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
integrity: | |
if: github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- id: checkout | |
name: Checkout ${{ github.head_ref || github.ref_name }} | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
ref: ${{ github.head_ref || github.ref }} | |
- id: dedupe-check | |
name: Check for duplicate dependencies in lockfile | |
run: yarn dedupe --check |