From 9fe2fbdeba5e50cd49c434df6043f8a58b37e8c9 Mon Sep 17 00:00:00 2001 From: mhli1260 <118139796+mhli1260@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:10:40 -0400 Subject: [PATCH] Add plato workflow --- .github/workflows/plato.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/plato.yaml diff --git a/.github/workflows/plato.yaml b/.github/workflows/plato.yaml new file mode 100644 index 0000000000..c77482ece6 --- /dev/null +++ b/.github/workflows/plato.yaml @@ -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 +