build: improve logic for issue template closing and add tests #12549
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
on: | |
pull_request: | |
name: presubmit | |
jobs: | |
units: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14, 16, 18, 20] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 300 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: ^6.24.1 | |
- run: node --version | |
- run: ci/run_conditional_tests.sh | |
name: Run unit tests | |
env: | |
BUILD_TYPE: presubmit | |
TEST_TYPE: units |