Skip to content

Merge pull request #7 from gnosisguild/fix-deprecated-api #16

Merge pull request #7 from gnosisguild/fix-deprecated-api

Merge pull request #7 from gnosisguild/fix-deprecated-api #16

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
build:
strategy:
matrix:
node: ['18']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Cache Yarn dependencies
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.OS }}-${{ matrix.node }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.OS }}-${{ matrix.node }}-yarn-cache-
- run: yarn --no-progress --non-interactive --frozen-lockfile
- run: yarn lint
- run: yarn format
if: runner.os == 'Linux'
- run: yarn build
- run: yarn test
env:
E2E_RPC: ${{ secrets.E2E_RPC }}
- run: yarn typecheck
- run: yarn no-git-changes
if: runner.os == 'Linux'
# @TODO: skipping for now beacuse of stability issues
# test-examples:
# strategy:
# # When set to true, GitHub cancels all in-progress jobs if any matrix job fails.
# fail-fast: false
# matrix:
# node: ['18.x']
# os: [ubuntu-latest, windows-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v1
# - uses: actions/setup-node@v1
# with:
# node-version: ${{ matrix.node }}
# - name: Cache YARN dependencies
# uses: actions/cache@v2
# with:
# path: |
# node_modules
# */*/node_modules
# key: ${{ runner.OS }}-${{ matrix.node }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
# restore-keys: ${{ runner.OS }}-${{ matrix.node }}-yarn-cache-
# - run: yarn --no-progress --non-interactive --frozen-lockfile
# - run: yarn build
# - run: yarn check-examples
# - run: yarn no-git-changes
# if: runner.os == 'Linux'