feat!: v1 release (#219) #495
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache Yarn Cache | |
uses: actions/cache@v2 | |
with: | |
path: 'node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} | |
- name: Install modules | |
run: yarn --frozen-lockfile | |
- name: License Header Check | |
run: yarn license:header:check | |
- name: OSS License Whitelist Check | |
run: yarn license:check | |
- name: Check sources | |
run: | | |
yarn gen:proto | |
git add . | |
git diff --cached --quiet | |
- name: Check Formatting | |
run: yarn prettier:check | |
- name: Linting | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Run tests | |
run: yarn coverage:upload |