upgrade to node 18, set type module

This commit is contained in:
Bogdan Fazakas 2023-01-10 13:18:44 +02:00
parent f1d76eab35
commit 31ee937167
4 changed files with 6 additions and 5 deletions

View File

@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- name: Cache node_modules
uses: actions/cache@v2
env:

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
registry-url: https://registry.npmjs.org/
- run: npm ci

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "ocean-ens-proxy",
"version": "0.0.0",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ocean-ens-proxy",
"version": "0.0.0",
"version": "1.0.0",
"license": "Apache-2.0",
"dependencies": {
"ethers": "^5.7.2"

View File

@ -1,7 +1,8 @@
{
"name": "ocean-ens-proxy",
"description": "Ocean Protocol ENS Proxy Server",
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"author": "Ocean Protocol <devops@oceanprotocol.com>",
"license": "Apache-2.0",
"scripts": {