Skip to content

Commit

Permalink
bump node version in CI and fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlinaric committed Aug 4, 2024
1 parent f333a64 commit 6de3b7d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '16.x'

- run: yarn install --frozen-lockfile --non-interactive

Expand All @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '16.x'

- run: yarn install --frozen-lockfile --non-interactive
- name: Run linter
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- name: Checkout code
uses: actions/[email protected]
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- name: Checkout code
uses: actions/[email protected]
Expand Down
2 changes: 0 additions & 2 deletions test/handlers/erc721/depositBurn.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// The Licensed Work is (c) 2022 Sygma
// SPDX-License-Identifier: LGPL-3.0-only

const TruffleAssert = require("truffle-assertions");

const Helpers = require("../../helpers");

const ERC721MintableContract = artifacts.require("ERC721MinterBurnerPauser");
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ const reverts = async function(promise, expectedErrorMessage) {
await promise;
} catch (error) {
if (expectedErrorMessage) {
const message = error.reason || error.hijackedStack.split('revert ')[1].split('\n')[0];
const message = error.reason || error.hijackedStack.split("revert ")[1].split("\n")[0];
assert.equal(message, expectedErrorMessage);
}
return true;
Expand Down

0 comments on commit 6de3b7d

Please sign in to comment.