Skip to content

Commit 0f6aabe

Browse files
committed
#58 fix keys.ts
1 parent 8a4aa8f commit 0f6aabe

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/CI-mutation-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
SCOPES: ${{ secrets.scopes }}
2929
CLIENT_ID: ${{ secrets.client_id }}
3030
AUTHORITY: ${{ secrets.authority }}
31-
run: |
32-
> src/environments/keys.ts && echo 'export const AUTHORITY = "'$AUTHORITY'";' >> src/environments/keys.ts && echo 'export const CLIENT_ID = "'$CLIENT_ID'";' >> src/environments/keys.ts && echo 'export const SCOPES = ["'$SCOPES'"];' >> src/environments/keys.ts
31+
run: scripts/populate-keys.sh
3332

3433
- name: Run the test
3534
run: npm run ci-test --if-present

scripts/populate-keys.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
> src/environments/keys.ts
4+
echo 'export const AUTHORITY = "'$AUTHORITY'";' >> src/environments/keys.ts
5+
echo 'export const CLIENT_ID = "'$CLIENT_ID'";' >> src/environments/keys.ts
6+
echo 'export const SCOPES = ["'$SCOPES'"];' >> src/environments/keys.ts

0 commit comments

Comments
 (0)