Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PUZSOC-5920] Use yarn build in B2C policies #72

Merged
merged 3 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/b2c-build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Build Policies
run: |
yarn generate
yarn build

- name: Upload TrustFrameworkBase Policy
uses: Andrews-McMeel-Universal/deploy-trustframework-policy@v6
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/b2c-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Use cache-next-install action
uses: Andrews-McMeel-Universal/cache-next-install@v1

- run: yarn generate
- run: yarn build

- name: Check Generated B2C Policies
shell: pwsh
Expand All @@ -47,4 +47,7 @@ jobs:
Write-Error "Variables in $File were not substituted correctly"
exit 1
}
}
}

- name: Check B2C index.html file
run: grep "${{ env.AUTH_ASSETS_RESOURCE_URL }}" dist/index.html
Loading