Skip to content

Commit

Permalink
chore: use node@20 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
runk committed Mar 25, 2024
1 parent cfa55f0 commit 1e4d56a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
- name: Install dependencies
run: npm i
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ package-lock.json
dbs/*

.DS_Store
.vscode
8 changes: 4 additions & 4 deletions utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const getConfigWithDir = () => {
const cwd = process.env['INIT_CWD'] || process.cwd();
let dir = cwd;

// Find a package.json with geolite2 configuration at or above the level
// Find a package.json with geolite2 configuration key at or above the level
// of this directory.
while (fs.existsSync(dir)) {
const packageJSON = path.join(dir, 'package.json');
Expand All @@ -21,11 +21,11 @@ const getConfigWithDir = () => {
}

console.log(
"WARN: geolite2 cannot find configuration in package.json file, using defaults.\n" +
"WARN: geolite2 expects to have 'MAXMIND_ACCOUNT_ID' and 'MAXMIND_LICENSE_KEY' to be present in environment variables when package.json is unavailable.",
"INFO: geolite2 cannot find configuration in package.json file, using defaults.\n" +
"INFO: geolite2 expects to have 'MAXMIND_ACCOUNT_ID' and 'MAXMIND_LICENSE_KEY' to be present in environment variables when package.json is unavailable.",
);
console.log(
'WARN: geolite2 expected package.json to be present at a parent of:\n%s',
'INFO: geolite2 expected package.json to be present at a parent of:\n%s',
cwd
);
};
Expand Down

0 comments on commit 1e4d56a

Please sign in to comment.