Token bridge factory #43
Workflow file for this run
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: Build and test | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
test-unit: | |
name: Test storage layout | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup node/yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Install packages | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Test Storage Layouts | |
run: yarn run test:storage | |
test-token-bridge-deployer: | |
name: Test token bridge deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: OffchainLabs/actions/run-nitro-test-node@main | |
- name: Setup node/yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Install packages | |
run: yarn | |
- name: Compile contracts | |
run: yarn build | |
- name: Deploy token bridge | |
run: yarn run deploy:local:token-bridge | |
- name: Test token bridge deployment | |
run: yarn run test:tokenbridge:deployment |