adds .env.asc #161
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
# This workflow will do a clean install of dependencies, build the source code and run tests | |
name: Truffle CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [14.x] | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build --if-present | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
- run: env > .env | |
env: | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
INFURA_PROJECT_ID: ${{ secrets.INFURA_PROJECT_ID }} | |
- run: ./scripts/start-mainnet-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-ropsten-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-rinkeby-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-kovan-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-goerli-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-bscmain-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-bsctest-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-maticmain-fork.sh & rm -rf ./build/ && npm run test && pkill node | |
- run: ./scripts/start-matictest-fork.sh & rm -rf ./build/ && npm run test && pkill node |