Skip to content

Commit

Permalink
Use node 18.10.0 everywhere consistently
Browse files Browse the repository at this point in the history
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
  • Loading branch information
rudolfs committed Sep 30, 2022
1 parent 89ffddf commit 9518d5b
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ jobs:
check-build:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.10.0'
- uses: actions/checkout@v2
- run: npm ci
- run: npm run build
4 changes: 4 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.10.0'
- uses: actions/checkout@v2
- run: npm ci
- run: ./scripts/check-format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.16.0'
node-version: '18.10.0'
- name: Checkout
uses: actions/checkout@v2
- name: Cypress run
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.16.0'
node-version: '18.10.0'
- name: Checkout
uses: actions/checkout@v2
- run: npm ci
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.10.0'
- uses: actions/checkout@v2
- run: npm ci
- run: npm run check
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18.10.0
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.13.2
nodejs 18.10.0
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"type": "module",
"engines": {
"node": ">=14"
"node": ">=18.10.0"
},
"devDependencies": {
"@rsksmart/mock-web3-provider": "^1.0.1",
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const config: UserConfig = {
rewriteAll(),
],
server: {
// We have to set host here, otherwise CI binds to the ipv6 address and
// e2e tests don't work.
host: "127.0.0.1",
port: 3000,
},
resolve: {
Expand Down

0 comments on commit 9518d5b

Please sign in to comment.