Bump #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JavaScript | |
on: | |
push: | |
tags: | |
- '[0-9]**' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'js/**' | |
- 'package.json' | |
- 'jsr.json' | |
jobs: | |
build-js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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" ]' | |
- name: Test CLI pipe | |
run: | | |
sh -c '[ "$(echo мрії мої | npm exec -- uklatn -t DSTU_9112_B -f -)" = "mriji moji" ]' |