Skip to content

Allow absolute paths for NAB.TranslationSuggestionPaths #437

Allow absolute paths for NAB.TranslationSuggestionPaths

Allow absolute paths for NAB.TranslationSuggestionPaths #437

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
os: [windows-latest]
node-version: [20.x]
# node-version: [16.x, 18.x]
runs-on: ${{ matrix.os }}
env:
working-directory: ./extension/
NAB_DISABLE_TELEMETRY: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
working-directory: ${{env.working-directory}}
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
run: npm run test
working-directory: ${{env.working-directory}}
- name: Test CLI functions
shell: pwsh
run: |
& "./.github/workflows/scripts/cli-test.ps1"