chore: add data for sepolia and mainnet deploys #16
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] | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
if: false | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Create env file | |
run: | | |
touch .env | |
echo SEPOLIA_ALCHEMY_ID="${{ secrets.SEPOLIA_ALCHEMY_ID }}" >> .env | |
echo MAINNET_ALCHEMY_ID="${{ secrets.MAINNET_ALCHEMY_ID }}" >> .env | |
cat .env | |
- name: Build project | |
run: yarn build | |
- name: Run tests | |
shell: bash | |
run: yarn test |