ci: add concurrency group to release workflow #42
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: Run Tests (Jest) | |
| on: push | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| working-directory: ./ | |
| jobs: | |
| app-testing: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Runner Common Setup | |
| uses: mridang/action-runner-common@v1 | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Setup TinyGo | |
| uses: acifani/setup-tinygo@v2 | |
| with: | |
| tinygo-version: '0.39.0' | |
| - name: Run Tests | |
| run: | | |
| go install gotest.tools/gotestsum@latest | |
| make test | |
| - name: Generate coverage report | |
| if: always() | |
| uses: mridang/action-test-reporter@v3 | |
| with: | |
| results-path: '.out/junit.xml' | |
| coverage-path: '.out/lcov.info' |