Skip to content

Commit

Permalink
Add CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Apr 8, 2024
1 parent de162b0 commit b77a8ab
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,35 @@ jobs:

- name: Test 4844
run: yarn test:4844

test-e2e:
name: Test e2e
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: OffchainLabs/actions/run-nitro-test-node@customize-branches
with:
nitro-testnode-ref: decouple-contracts
l3-node: true
no-token-bridge: false
no-l3-token-bridge: false
nitro-contracts-branch: testnode-deploy

- 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: Run e2e tests
run: yarn test:e2e

0 comments on commit b77a8ab

Please sign in to comment.