From 6f24a55a042b16b105348a49e02a541c99d435c1 Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Fri, 16 Jul 2021 11:35:15 +0200 Subject: [PATCH] chore: script replace in files install timing --- .github/workflows/sasjs-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sasjs-tests.yml b/.github/workflows/sasjs-tests.yml index 2beacd7..18ef8e0 100644 --- a/.github/workflows/sasjs-tests.yml +++ b/.github/workflows/sasjs-tests.yml @@ -57,10 +57,10 @@ jobs: - name: Deploy sasjs-tests viya run: | npm i + npm install -g replace-in-files-cli cd sasjs-tests replace-in-files --regex='"@sasjs/adapter".*' --replacement='"@sasjs/adapter":"2.8.13",' ./package.json npm i - npm install -g replace-in-files-cli replace-in-files --regex='userName.*' --replacement='userName:"${{ secrets.SAS_USERNAME }}",' ./public/config.json replace-in-files --regex='password.*' --replacement='password:"${{ secrets.SAS_PASSWORD }}",' ./public/config.json replace-in-files --regex='serverType.*' --replacement='serverType:"SASVIYA",' ./public/config.json