Bump the npm_and_yarn group across 3 directories with 2 updates #714
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: Compile and Test smart contracts | |
on: | |
pull_request: | |
jobs: | |
voting-lambda: | |
defaults: | |
run: | |
working-directory: lambda/voting/smart-contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Compile and test contracts | |
run: | | |
npm ci | |
npx hardhat compile | |
npx hardhat test | |
erc721-lambda: | |
defaults: | |
run: | |
working-directory: lambda/custom-erc721/smart-contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Compile and test contracts | |
run: | | |
npm ci | |
npx hardhat compile | |
npx hardhat test | |
erc721-upgradeable-lambda: | |
defaults: | |
run: | |
working-directory: lambda/custom-erc721-upgradeable/smart-contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Compile and test contracts | |
run: | | |
npm ci | |
npx hardhat compile | |
npx hardhat test | |
erc1155-lambda: | |
defaults: | |
run: | |
working-directory: lambda/custom-erc1155/smart-contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Compile and test contracts | |
run: | | |
npm ci | |
npx hardhat compile | |
npx hardhat test |