Add prettier so folks' editors (maybe just me? 😅 ) don't reformat things differently on save -- should help focus changes in PRs #85
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: tests-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: "Test: signal-polyfill" | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- run: npm install | |
- run: npm test | |
- run: npm run format:check | |
working-directory: packages/signal-polyfill |