feat: restore Safe Apps support (issue #6) #170
Workflow file for this run
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: Unit tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - eternalsafe | |
| permissions: | |
| contents: read | |
| checks: write | |
| pull-requests: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| uses: ./.github/workflows/yarn | |
| - name: Run tests (push) | |
| if: github.event_name == 'push' | |
| run: yarn test:ci | |
| - name: Annotations and coverage report (pull request) | |
| if: github.event_name == 'pull_request' | |
| uses: ArtiomTr/jest-coverage-report-action@v2 | |
| with: | |
| skip-step: install | |
| annotations: failed-tests | |
| package-manager: yarn | |
| test-script: yarn test:ci | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |