We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca422b commit a3668f7Copy full SHA for a3668f7
.github/workflows/workflow.yml
@@ -0,0 +1,33 @@
1
+ name: Typescript
2
+ on:
3
+ push:
4
+ branches: [ "master" ]
5
+ pull_request:
6
7
+ jobs:
8
+
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Setup NodeJS
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: 23.7.0
18
+ cache: npm
19
20
+ - name: Install Hardhat
21
+ run: npm install --save-dev [email protected]
22
23
+ - name: Install Dependencies
24
+ run: npm install
25
26
+ - name: Install Solhint
27
+ run: npm install -g solhint
28
29
+ - name: Run Lint
30
+ run: solhint 'contracts/**/*.sol'
31
32
+ - name: Run Hardhat Test
33
+ run: npx hardhat test --typecheck
0 commit comments