diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..effda20e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,33 @@ +name: test + +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +jobs: + check: + strategy: + fail-fast: true + + name: Hardhat tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install dependencies + run: npm ci --ignore-scripts + + - name: Run Hardhat tests + run: | + npx hardhat test + id: test \ No newline at end of file