Skip to content

Commit cc647c8

Browse files
committed
Remove WEAVIATE_VERSION from env, supply in cmd
1 parent 790901f commit cc647c8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,12 @@ jobs:
6363
WCS_DUMMY_CI_PW: ${{ secrets.WCS_DUMMY_CI_PW }}
6464
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
6565
OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}
66-
WEAVIATE_VERSION: ${{ matrix.versions.weaviate }}
67-
run: |
68-
WEAVIATE_VERSION=${WEAVIATE_VERSION} npm test
69-
npm run build
66+
run: WEAVIATE_VERSION=${{ matrix.versions.weaviate }} npm test
7067
- name: "Run tests without authentication tests (for forks)"
7168
if: ${{ github.event.pull_request.head.repo.fork }}
72-
env:
73-
WEAVIATE_VERSION: ${{ matrix.versions.weaviate }}
74-
run: |
75-
WEAVIATE_VERSION=${WEAVIATE_VERSION} npm test
76-
npm run build
69+
run: WEAVIATE_VERSION=${{ matrix.versions.weaviate }} npm test
70+
- name: "Transpile the package"
71+
run: npm run build
7772
- name: "Stop Weaviate"
7873
run: ci/stop_dependencies.sh ${{ matrix.versions.weaviate }}
7974

0 commit comments

Comments
 (0)