Skip to content

V2: Improve parameter parsing #2305

V2: Improve parameter parsing

V2: Improve parameter parsing #2305

Workflow file for this run

name: ci
on:
push:
branches: [main, v2]
tags: ['v*']
pull_request:
branches: [main, v2]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18, 20]
steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-protobuf-es-ci-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-protobuf-es-ci-
- name: make
run: make ci
lint:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-protobuf-es-lint-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-protobuf-es-lint-
- name: lint
run: make lint
typescript-compat:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-protobuf-es-typescript-compat-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-protobuf-es-typescript-compat-
- name: make
run: make test-ts-compat