Merge pull request #420 from sasjs/fix/audit-20260401 #48
This file contains hidden or 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 ci --ignore-scripts | |
| 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: Release | |
| run: | | |
| GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} npx semantic-release |