chore(deps): update dependency mocha to v11 #384
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: test-testdata | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-testdata: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
cache-dependency-path: testdata/package-lock.json | |
- run: npm ci | |
working-directory: testdata | |
- name: check repository is not dirty | |
run: "[[ -z $(git status --porcelain) ]]" | |
- name: show diff | |
if: ${{ failure() }} | |
run: git status --porcelain |