refactor(repo): merge all NFT contracts into one single package #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NFTs | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "packages/nfts/**" | |
pull_request: | |
paths: | |
- "packages/nfts/**" | |
jobs: | |
build-nfts: | |
runs-on: [taiko-runner] | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/[email protected] | |
- name: Install pnpm dependencies | |
uses: ./.github/actions/install-pnpm-dependencies | |
- name: Solidity compilation | |
working-directory: ./packages/nfts | |
run: pnpm compile | |
- name: Unit Tests | |
working-directory: ./packages/nfts | |
run: pnpm test | |
- name: Format solidity && update contract layout table | |
working-directory: ./packages/supplementary-contracts | |
run: pnpm layout && pnpm lint:sol |