chore: Install protoc before running checks. #5
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: | |
push: | |
branches: | |
- main | |
name: checks | |
jobs: | |
checks: | |
strategy: | |
matrix: | |
command: [typecheck, test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
- run: npm ci | |
- run: npm run ${{ matrix.command }} |