Skip to content

Commit 6e97ee3

Browse files
committed
add new config method to a few places
1 parent 933ba9d commit 6e97ee3

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/test-all.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ jobs:
4545
with:
4646
node-version: 22.10.0
4747
- name: Test setup and yarn install
48+
env:
49+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
4850
run: |
49-
cp config/ci.config.json config/project.json
51+
echo "$PROJECT_CONFIG > config/project.json"
5052
yarn
5153
- name: yarn build
5254
run: yarn build

.github/workflows/test-changed-auth.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ jobs:
6161
with:
6262
node-version: 22.10.0
6363
- name: Test setup and yarn install
64+
env:
65+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
6466
run: |
65-
cp config/ci.config.json config/project.json
67+
echo "$PROJECT_CONFIG > config/project.json"
6668
yarn
6769
- name: build
6870
run: yarn build:changed auth
@@ -86,8 +88,10 @@ jobs:
8688
with:
8789
node-version: 22.10.0
8890
- name: Test setup and yarn install
91+
env:
92+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
8993
run: |
90-
cp config/ci.config.json config/project.json
94+
echo "$PROJECT_CONFIG > config/project.json"
9195
yarn
9296
- name: build
9397
run: yarn build:changed auth
@@ -110,8 +114,10 @@ jobs:
110114
with:
111115
node-version: 22.10.0
112116
- name: Test setup and yarn install
117+
env:
118+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
113119
run: |
114-
cp config/ci.config.json config/project.json
120+
echo "$PROJECT_CONFIG > config/project.json"
115121
yarn
116122
npx playwright install webkit
117123
- name: build

0 commit comments

Comments
 (0)