From 993dec46106085b8d3fd6f28d1998975db4a1c32 Mon Sep 17 00:00:00 2001 From: Allan Date: Tue, 17 Oct 2023 16:00:05 +0100 Subject: [PATCH 1/2] chore: adding cli dependency --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d0c87f1..66e2a43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,9 @@ jobs: uses: actions/checkout@v4 - name: Install dependencies - run: npm ci + run: | + npm ci + npm i @sasjs/cli@latest - name: Check code style (aborts if errors found) run: npx @sasjs/cli lint From d8ea29bf8c7140d0ea4d3fcc8c6d566847433868 Mon Sep 17 00:00:00 2001 From: Allan Date: Tue, 17 Oct 2023 16:00:47 +0100 Subject: [PATCH 2/2] chore: -g param --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66e2a43..2e6190a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: - name: Install dependencies run: | npm ci - npm i @sasjs/cli@latest + npm i -g @sasjs/cli@latest - name: Check code style (aborts if errors found) run: npx @sasjs/cli lint