-
Notifications
You must be signed in to change notification settings - Fork 81
36 lines (35 loc) · 924 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
name: ci
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- name: cache
uses: actions/cache@v3
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-connect-web-ci-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-connect-web-ci-
- name: make
run: make format build lint test bench checkdiff
- name: browserstack
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
run: make testwebbrowserstack