Skip to content

Commit

Permalink
Update dependencies and drop Node.js < 18 support (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 14, 2024
1 parent fcd5b79 commit ad0842c
Show file tree
Hide file tree
Showing 7 changed files with 2,278 additions and 8,237 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: CI
on:
push:
branches:
- "**"
- "!dependabot/**"
- "main"
pull_request:
workflow_dispatch:

Expand All @@ -23,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 16, 18, 20]
node: [18, 20]

steps:
- name: Clone repository
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ on:
push:
branches:
- main
- "!dependabot/**"
pull_request:
branches:
- main
- "!dependabot/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: Lint
on:
push:
branches:
- "**"
- "!dependabot/**"
- "main"
pull_request:
workflow_dispatch:

env:
FORCE_COLOR: 2
NODE: 18
NODE: 20

permissions:
contents: read
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'use strict';

const fs = require('fs');
const program = require('commander');
const { program } = require('commander');
const precinct = require('../index.js');
const { name, description, version } = require('../package.json');

Expand Down
Loading

0 comments on commit ad0842c

Please sign in to comment.