test: configure Vitest browser mode and add basic bindings #34
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: Clear ok-to-deploy on new commits | |
| on: | |
| pull_request_target: | |
| types: [synchronize] | |
| jobs: | |
| clear-label: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Remove ok-to-deploy label | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const pr = context.payload.pull_request; | |
| const labels = pr.labels.map((l) => l.name); | |
| if (!labels.includes("ok-to-deploy")) return; | |
| await github.rest.issues.removeLabel({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: pr.number, | |
| name: "ok-to-deploy", | |
| }); |