fix(tests): skip Playwright tests when browser not installed (#77) #21
This file contains hidden or 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: Lint | |
| # Caller for the reusable lint workflow in topcoder1/ci-workflows. | |
| # Runs actionlint on .github/workflows/*.yml and prettier --check on **/*.md. | |
| # | |
| # To customize per-project, set inputs below. Examples: | |
| # markdown_glob: 'docs/**/*.md' # only lint docs/ markdown | |
| # run_prettier: false # actionlint only | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| # Required for prettier_changed_only mode (default true) so the reusable | |
| # can call `gh api .../pulls/N/files`. Reusable's job-level permission | |
| # request is a hard ceiling against the caller — without this, the | |
| # reusable fails startup and `lint / actionlint` hangs in | |
| # "Expected — Waiting for status to be reported". | |
| pull-requests: read | |
| jobs: | |
| lint: | |
| uses: topcoder1/ci-workflows/.github/workflows/lint.yml@main | |
| # with: | |
| # markdown_glob: '**/*.md' | |
| # run_actionlint: true | |
| # run_prettier: true |