Skip to content

Commit

Permalink
test js cli
Browse files Browse the repository at this point in the history
  • Loading branch information
paiv committed Nov 10, 2024
1 parent 3b0506a commit 217933c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/test-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
- name: Test
run: npm test

- name: Install
run: |
npm install --global
- name: Test CLI
run: |
sh -c '[ "$(npm exec -- uklatn -t DSTU_9112_B мрії мої)" = "mriji moji" ]'
build-py:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion js/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
import path from 'node:path';
import * as uklatn from 'uklatn';
import * as uklatn from './uklatn.js';


const _Usage = '[-h] [-t TABLE] [-c] [-l] text [text ...]\n';
Expand Down

0 comments on commit 217933c

Please sign in to comment.