add webstorer nonce #324
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: smart-contracts CI | |
on: | |
pull_request: | |
workflow_call: | |
defaults: | |
run: | |
working-directory: smart-contracts | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm ci | |
- name: Code quality | |
run: npm run fmt:check | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build |