Skip to content

Update node version in GitHub Action #33

Update node version in GitHub Action

Update node version in GitHub Action #33

Workflow file for this run

name: Run Tests
on:
push:
branches: ['**']
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Get submodules
run: git submodule update --init --recursive
- name: Build protos
run: |
mkdir proto
npm run build:protos:mac
- name: Run Jest tests
run: npm run test