Fix bug displaying assurance icon with no alt. target, add informative warning messages #254
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: Test Build PowerBI visual | |
on: | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- PowerBI-SPC-Docs/** # Don't run on docs folder | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies | |
run: | | |
npm install | |
npm install -g powerbi-visuals-tools | |
- name: Run linter | |
run: | | |
npm run eslint | |
- name: Run unit tests | |
run: | | |
npm run test | |
- name: Test if package can be built | |
run: | | |
pbiviz package |