This repository was archived by the owner on Feb 17, 2025. It is now read-only.
fix order of baker account setup (issue #527) #985
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: Tests | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| checkChangedFiles: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| files: ${{ steps.files.outputs.added_modified }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - id: files | |
| uses: Ana06/[email protected] | |
| with: | |
| format: 'csv' | |
| filter: '*.mdx?' | |
| test: | |
| runs-on: ubuntu-latest | |
| needs: checkChangedFiles | |
| if: ${{ needs.checkChangedFiles.outputs.files != '' }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| - run: npm ci | |
| - run: npm run test -- --reporter JSON --reporter-option output=mocha.json --filesToCheck=${{ needs.checkChangedFiles.outputs.files }} | |
| continue-on-error: true | |
| - uses: dorny/test-reporter@v1 | |
| with: | |
| name: Mocha tests | |
| path: 'mocha.json' | |
| reporter: mocha-json |