Skip to content

Commit

Permalink
Add plato workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mhli1260 authored Oct 28, 2024
1 parent 129344e commit 9fe2fbd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/plato.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Plato Install and Run

on:
push:
branches:
- f24
jobs:
analyze:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- run: cp install/package.json package.json

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: NPM Install
uses: bahmutov/npm-install@v1
with:
useLockFile: false

- name: Install Plato
run: npm install -g plato@latest

- name: Run Plato
run: plato -r -d plato-report src

0 comments on commit 9fe2fbd

Please sign in to comment.