Skip to content

Commit

Permalink
nodejs v16
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jan 4, 2022
1 parent 0cab1ae commit c589994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
- name: node

- name: Install Node v16
uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/

- name: Install
Expand Down
4 changes: 2 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import generateCommand from './commands/generateCommand';

const gcommands = new Command('gcommands');

/*const packajeJson = new URL('../package.json', import.meta.url);
const packajeJson = new URL('../package.json', import.meta.url);
const version = JSON.parse(await readFile(packajeJson, 'utf-8')).version;

gcommands.version(version);*/
gcommands.version(version);

gcommands
.command('new')
Expand Down

0 comments on commit c589994

Please sign in to comment.