fix: versions bump #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: React Seed App Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [lts/*] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm install | |
npm install --location=global @sasjs/cli | |
env: | |
CI: true | |
- name: Build Frontend | |
run: npm run build | |
- name: create SAS 9 EBI build and Add to Release | |
run: | | |
npx sasjs cb -t sas9 | |
mkdir ./artefacts | |
cp ./sasjsbuild/sas9.sas ./artefacts/sas9.sas | |
- name: create Viya build and Add to Release | |
run: | | |
npx sasjs cb -t viya | |
cp ./sasjsbuild/viya.sas ./artefacts/viya.sas | |
- name: create SASjs build and Add to Release | |
run: | | |
npx sasjs cb -t server | |
cp ./sasjsbuild/server.json.zip ./artefacts/server.json.zip | |
- name: Install Semantic Release and plugins | |
run: | | |
npm i | |
npm i -g semantic-release | |
- name: Release | |
run: | | |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} semantic-release |