Skip to content

chore: fix workflows #18

chore: fix workflows

chore: fix workflows #18

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install protoc
run: |
sudo apt-get update
sudo apt-get install -y unzip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip
unzip protoc-21.12-linux-x86_64.zip -d protoc21
sudo mv protoc21/bin/protoc /usr/local/bin/
- run: npm ci
- run: npm run lint