Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
],
"import/no-unused-modules": "error",
"import/no-mutable-exports": "error",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["test/**/*.test.ts"]}],
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["test/**/*.test.ts"] }
],
"@typescript-eslint/explicit-function-return-type": "error"
},
"settings": {
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20.x, 22.x ]
node-version: [20.x, 22.x]

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm

- name: Clean install
run: npm ci
- name: Clean install
run: npm ci

- name: Lint
run: npm run lint
- name: Lint
run: npm run lint

- name: Build
run: npm run build
- name: Build
run: npm run build

- name: Test
run: npm run test
- name: Test
run: npm run test
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion examples/abi/uniswapV2Pair.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,4 +710,4 @@
"stateMutability": "nonpayable",
"type": "function"
}
]
]
Loading
Loading