feat: verify msg.sender to be the owner when calling registerPoh #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: Run l2-contracts unit tests | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "packages/l2-contracts/**" | |
jobs: | |
l2-contracts-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./packages/l2-contracts | |
steps: | |
- uses: actions/checkout@v4 | |
- name: For act to work (local testing) | |
run: npm -g install yarn | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: yarn install --immutable --immutable-cache --check-cache | |
- name: Run test | |
run: yarn test |