Skip to content

Commit

Permalink
Bump testomatio/check-tests from stable to 0.9.6
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 committed Sep 19, 2024
1 parent a07f1f3 commit b8bf02c
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,38 @@
name: Lint

on:
push:
merge_group:
pull_request:
workflow_dispatch:

concurrency: ${{ github.workflow }}-${{ github.ref }}

concurrency: '${{ github.workflow }}-${{ github.ref }}'
permissions:
contents: write

jobs:
docker-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
verbose: true
lint:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: read
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
# uses version from "packageManager" field in package.json

- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: pnpm
node-version-file: '.node-version'

node-version-file: .node-version
- name: Install Packages
run: |
pnpm install --frozen-lockfile
env:
CYPRESS_CACHE_FOLDER: .cache/Cypress

- name: Run Linting
shell: bash
run: |
Expand All @@ -55,8 +48,9 @@ jobs:
# make sure to return an error exitcode so that GitHub actions shows a red-cross
exit 1
fi
- name: Verify `./src/config.type.ts` is in sync with `./src/schemas/config.schema.yaml`
- name: >-
Verify `./src/config.type.ts` is in sync with
`./src/schemas/config.schema.yaml`
shell: bash
run: |
if ! pnpm run --filter mermaid types:verify-config; then
Expand All @@ -68,7 +62,6 @@ jobs:
# make sure to return an error exitcode so that GitHub actions shows a red-cross
exit 1
fi
- name: Verify no circular dependencies
working-directory: ./packages/mermaid
shell: bash
Expand All @@ -82,16 +75,14 @@ jobs:
# make sure to return an error exitcode so that GitHub actions shows a red-cross
exit 1
fi
- name: Verify Docs
id: verifyDocs
working-directory: ./packages/mermaid
continue-on-error: ${{ github.event_name == 'push' }}
run: pnpm run docs:verify

- uses: testomatio/check-tests@0ea638fcec1820cf2e7b9854fdbdd04128a55bd4 # stable
continue-on-error: "${{ github.event_name == 'push' }}"
run: 'pnpm run docs:verify'
- uses: testomatio/check-tests@029e70011b529b168d37a85d992e6fc88ada8fdf # 0.9.6
with:
framework: cypress
tests: './cypress/e2e/**/**.spec.js'
token: ${{ secrets.GITHUB_TOKEN }}
tests: ./cypress/e2e/**/**.spec.js
token: '${{ secrets.GITHUB_TOKEN }}'
has-tests-label: true

0 comments on commit b8bf02c

Please sign in to comment.