Skip to content

Commit da2da73

Browse files
committed
fix: remove tinny build ci and override
1 parent 35d54f6 commit da2da73

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
version: 'latest'
3333
- name: Install project dependencies
3434
run: yarn --frozen-lockfile
35-
- name: Build Tinny
36-
run: yarn build:tinny
37-
- name: Verify Tinny build output
38-
run: |
39-
if [ ! -f "./local-tests/index.js" ]; then
40-
echo "Error: Tinny build output not found"
41-
exit 1
42-
fi
35+
# - name: Build Tinny
36+
# run: yarn build:tinny
37+
# - name: Verify Tinny build output
38+
# run: |
39+
# if [ ! -f "./local-tests/index.js" ]; then
40+
# echo "Error: Tinny build output not found"
41+
# exit 1
42+
# fi
4343
- uses: nrwl/nx-set-shas@v3
4444
with:
4545
main-branch-name: 'master'

local-tests/setup/tinny-environment.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,12 @@ export class TinnyEnvironment {
113113
...override,
114114
};
115115

116+
// -- setup network
117+
this.network = override.NETWORK || this.processEnvs.NETWORK;
118+
116119
if (Object.values(LIT_NETWORK).indexOf(this.network) === -1) {
117120
throw new Error(
118-
`Invalid network environment. Please use one of ${Object.values(
121+
`Invalid network environment ${this.network}. Please use one of ${Object.values(
119122
LIT_NETWORK
120123
)}`
121124
);

0 commit comments

Comments
 (0)