XT-3096: Integrate viewer url and feature options into the tools menu #310
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: Run Node Unit Tests | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_call: | |
permissions: {} | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-12 | |
- ubuntu-22.04 | |
- windows-2022 | |
node-version: | |
- '16' | |
- '18' | |
- '20' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
check-latest: true | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint with npm | |
run: npm run stylelint | |
- name: Test with npm | |
run: npm run test |