Skip to content

Merge pull request #768 from clrfund/merge/export-images #531

Merge pull request #768 from clrfund/merge/export-images

Merge pull request #768 from clrfund/merge/export-images #531

name: Build and test contracts
on:
workflow_dispatch:
push:
paths:
- 'contracts/**'
env:
NODE_VERSION: 20.x
jobs:
test-contracts:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install
run: |
git config --global url."https://".insteadOf git://
yarn && yarn build
- name: Run tests
run: yarn test:contracts