1
0
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:
Allan Bowe
2023-06-15 09:13:34 +01:00
committed by GitHub
parent c58b5c7a52
commit a2c7bdafb4

View File

@@ -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}}