Hackathon with interactive #505
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: PRB_Windows | |
env: | |
SAIL_CLIENT_ID: ${{ secrets.SDK_TEST_TENANT_CLIENT_ID }} | |
SAIL_CLIENT_SECRET: ${{ secrets.SDK_TEST_TENANT_CLIENT_SECRET }} | |
SAIL_BASE_URL: ${{ secrets.SDK_TEST_TENANT_BASE_URL }} | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: windows-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
sailpoint-cli-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Test | |
run: go test -v -count=1 ./... | |
- name: Install | |
run: go build -o sail.exe | |
- name: Init connector and customizer project | |
run: | | |
./sail.exe conn init connectorTest | |
./sail.exe conn customizers init customizerTest | |
- name: Test connector project from init command | |
working-directory: ./connectorTest | |
run: | | |
npm install | |
npm run test | |
npm run pack-zip | |
- name: Test customizer project from init command | |
working-directory: ./customizerTest | |
run: | | |
npm install | |
npm run test | |
npm run pack-zip |