2021-10-24 21:54:07 +02:00
|
|
|
name: build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ['*']
|
2022-02-22 18:21:22 +01:00
|
|
|
tags: ['v[0-9]+.[0-9]+.[0-9]+']
|
2021-10-24 21:54:07 +02:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-02-22 18:21:22 +01:00
|
|
|
- name: Checkout
|
2021-10-24 21:54:07 +02:00
|
|
|
uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
with:
|
2022-02-22 18:21:22 +01:00
|
|
|
node-version: 14
|
|
|
|
- run: yarn cache clean --all
|
|
|
|
- run: yarn install --network-concurrency 1
|
2021-10-24 21:54:07 +02:00
|
|
|
- run: yarn lint
|
2022-02-23 18:27:05 +01:00
|
|
|
- run: yarn compile
|
2021-10-24 23:51:10 +02:00
|
|
|
- run: yarn test
|
2022-02-22 18:21:22 +01:00
|
|
|
env:
|
|
|
|
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
|