Compare commits
3 Commits
2053c858ac
...
c74378423d
Author | SHA1 | Date | |
---|---|---|---|
c74378423d | |||
|
0e020623a5 | ||
25fed203c6 |
@ -22,31 +22,30 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NPMRC: ${{ secrets.NPMRC}}
|
NPMRC: ${{ secrets.NPMRC}}
|
||||||
|
|
||||||
- name: Install ZIP and SASjs CLI
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install zip -y
|
apt-get install zip -y
|
||||||
|
# sasjs cli is used to compile & build the SAS services
|
||||||
npm i -g @sasjs/cli
|
npm i -g @sasjs/cli
|
||||||
|
# jq is used to parse the release JSON
|
||||||
- name: Install JQ for parsing JSON
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install jq -y
|
apt-get install jq -y
|
||||||
|
|
||||||
- name: Install Semantic Release and plugins and create Release
|
- name: Create Empty Release (assets are posted later)
|
||||||
run: |
|
run: |
|
||||||
npm i
|
npm i
|
||||||
npm i -g semantic-release
|
npm i -g semantic-release
|
||||||
GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release
|
GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release
|
||||||
|
|
||||||
- name: Frontend Build
|
- name: Frontend Build
|
||||||
|
description: Must be created AFTER the release as the version (git tag) is used in the interface
|
||||||
run: |
|
run: |
|
||||||
cd client
|
cd client
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Build SAS9 EBI Release
|
- name: Build SAS9 EBI Release
|
||||||
description: compile SAS 9 services, remove tests & create deployment program
|
description: Compile SAS 9 services, remove tests & create deployment program
|
||||||
run: |
|
run: |
|
||||||
cd sas
|
cd sas
|
||||||
npm ci
|
npm ci
|
||||||
@ -63,7 +62,7 @@ jobs:
|
|||||||
cp sasjsbuild/mysas9deploy.sas ./sas9.sas
|
cp sasjsbuild/mysas9deploy.sas ./sas9.sas
|
||||||
|
|
||||||
- name: Build SASjs Server Release
|
- name: Build SASjs Server Release
|
||||||
description: compile Base (SASjs) services, remove tests & create deployment JSON
|
description: Compile Base (SASjs) services, remove tests & create deployment JSON
|
||||||
run: |
|
run: |
|
||||||
cd sas
|
cd sas
|
||||||
cp sasjs/utils/favicon.ico ../client/dist/favicon.ico
|
cp sasjs/utils/favicon.ico ../client/dist/favicon.ico
|
||||||
|
Loading…
x
Reference in New Issue
Block a user