Add Kujira (#840) #2468
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: Test Commit | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: Cache Yarn packages | |
uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Install Deps | |
run: yarn && yarn yarn-audit-ci --high | |
- name: Build Packages | |
run: yarn build | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
env: | |
CI: true | |
BLOCKCHAIR_API_KEY: ${{ secrets.BLOCKCHAIR_API_KEY }} |