Skip to content

fix(ci): remove check for branch name #3619

fix(ci): remove check for branch name

fix(ci): remove check for branch name #3619

Workflow file for this run

name: Test-snx-ci
on:
pull_request:
branches: [main, alpha, dev]
jobs:
test-snx-ci:
runs-on: ubuntu-latest
env:
CANNON_DIRECTORY: ${{ github.workspace }}/.cannon
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: '20.5.1'
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-ef62fdbab638a275fc19a2ff8fe8951c3bd1d9aa
- name: Cache used IPFS files
uses: actions/cache@v4
with:
key: cannon-ipfs-cache_${{ runner.os }}-${{ github.job }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: cannon-ipfs-cache_
path: ${{ env.CANNON_DIRECTORY }}/ipfs_cache
save-always: true
- run: pnpm i --prefer-frozen-lockfile
- run: pnpm build
- name: Synthetix CI Downstream
run: cd ./packages/cli && pnpm test-snx-ci