mirror of
https://github.com/sasjs/core.git
synced 2026-01-03 15:40:05 +00:00
chore: update yaml for build/deploy/test
This commit is contained in:
14
.github/workflows/run-tests.yml
vendored
14
.github/workflows/run-tests.yml
vendored
@@ -50,8 +50,8 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check code style
|
||||
run: npm run lint
|
||||
- name: Check code style (aborts if errors found)
|
||||
run: sasjs lint
|
||||
|
||||
- name: Add client
|
||||
run: echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.server
|
||||
@@ -59,11 +59,11 @@ jobs:
|
||||
- name: Add access token
|
||||
run: echo "ACCESS_TOKEN=${{secrets.SAS9_4GL_IO_ACCESS_TOKEN}}" >> .env.server
|
||||
|
||||
- name: Build Project
|
||||
run: npm run build
|
||||
- name: Build & Deploy Project to SAS server
|
||||
run: sasjs cbd -t server
|
||||
|
||||
- name: Run SASjs tests
|
||||
run: npm run test
|
||||
- name: Run all tests
|
||||
run: sasjs test -t server
|
||||
env:
|
||||
CI: true
|
||||
CLIENT: ${{secrets.CLIENT}}
|
||||
@@ -71,4 +71,4 @@ jobs:
|
||||
SAS_USERNAME: ${{secrets.SAS_USERNAME}}
|
||||
SAS_PASSWORD: ${{secrets.SAS_PASSWORD}}
|
||||
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
|
||||
REFRESH_TOKEN: ${{secrets.REFRESH_TOKEN}}
|
||||
REFRESH_TOKEN: ${{secrets.REFRESH_TOKEN}}
|
||||
|
||||
Reference in New Issue
Block a user