Feat/fux profile page #69
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: Deploy prod | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
# Review gh actions docs if you want to further define triggers, paths, etc | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | |
jobs: | |
build-and-test: | |
# The type of runner that the job will run on | |
name: Build and test contracts | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.9.0 | |
- name: Install | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
env: | |
MNEMONIC: ${{ secrets.MNEMONIC }} | |
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} |