mirror of
https://github.com/sasjs/core.git
synced 2025-12-11 06:24:35 +00:00
chore: updating yaml command to use npx @sasjs/cli
This commit is contained in:
6
.github/workflows/run-tests.yml
vendored
6
.github/workflows/run-tests.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Check code style (aborts if errors found)
|
||||
run: npx sasjs lint
|
||||
run: npx @sasjs/cli lint
|
||||
|
||||
- name: Add client
|
||||
run: echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.server
|
||||
@@ -60,10 +60,10 @@ jobs:
|
||||
run: echo "ACCESS_TOKEN=${{secrets.SAS9_4GL_IO_ACCESS_TOKEN}}" >> .env.server
|
||||
|
||||
- name: Build & Deploy Project to SAS server
|
||||
run: npx sasjs cbd -t server
|
||||
run: npx @sasjs/cli cbd -t server
|
||||
|
||||
- name: Run all tests
|
||||
run: npx sasjs test -t server
|
||||
run: npx @sasjs/cli test -t server
|
||||
env:
|
||||
CI: true
|
||||
CLIENT: ${{secrets.CLIENT}}
|
||||
|
||||
Reference in New Issue
Block a user