Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/pbi-inspector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run PBI Inspector

on:
push:
pull_request:

jobs:
inspect:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install ts-node globally
run: npm install -g ts-node typescript

- name: Clone PBI Inspector V2
run: git clone https://github.com/NatVanG/PBI-InspectorV2.git

- name: Run PBI Inspector CLI
working-directory: ./PBI-InspectorV2
run: npx ts-node src/cli.ts inspect ../CareTogether.pbip --output ../result.json

- name: Upload inspection result
uses: actions/upload-artifact@v4
with:
name: pbi-inspector-result
path: result.json
Loading