Skip to content

chore: upgrade workflow to use devcon:1.1.4-bookworm #113

chore: upgrade workflow to use devcon:1.1.4-bookworm

chore: upgrade workflow to use devcon:1.1.4-bookworm #113

name: Lint, Build & Test
on:
push:
branches: [$default-branch, main, chore/update_executor_reference_implementation]
pull_request:
branches: [$default-branch, main, chore/update_executor_reference_implementation]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}
jobs:
lint-build-test:
name: Lint, Build & Test
runs-on: ubuntu-latest
container:
image: ghcr.io/layerzero-labs/devcon:1.1.4-bookworm
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
options: --privileged
env:
HOME: /root
steps:
- name: Initialize docker services
run: |
umount /var/run/docker.sock
/usr/local/share/docker-init.sh
- name: Check out
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
fetch-depth: 0
submodules: recursive
- name: Yarn install
run: |
yarn install --immutable
- name: Build
run: |
yarn build
- name: Test
run: |
yarn test