-
Notifications
You must be signed in to change notification settings - Fork 68
41 lines (41 loc) · 992 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-protobuf-es-ci-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-protobuf-es-ci-
- name: make
run: make ci
typescript-compat:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
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