Fix a bug where tokens aren't replenished if there is no activity at all #12
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: "Test" | |
| on: | |
| push: | |
| workflow_call: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: ./.github/actions/setup-test-env | |
| - name: Build | |
| shell: bash | |
| run: pnpm build | |
| - name: Test | |
| shell: bash | |
| run: pnpm test | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: ./.github/actions/setup-test-env | |
| - name: Lint | |
| shell: bash | |
| run: pnpm lint |