@@ -28,10 +28,13 @@ jobs:
2828 - uses : actions/setup-node@v3
2929 with :
3030 node-version : ' 22.x'
31+ cache : ' pnpm'
32+ - uses : pnpm/action-setup@v3
33+ with :
34+ version : ' 10.x'
3135 - name : " Run checks"
3236 run : |
33- npm run build:core
34- npm ci
37+ npm run ci
3538 npm run lint
3639 npm run format:check
3740 npm run docs
5861 - uses : actions/setup-node@v3
5962 with :
6063 node-version : ${{ matrix.versions.node }}
64+ cache : ' pnpm'
65+ - uses : pnpm/action-setup@v3
66+ with :
67+ version : ' 10.x'
6168 - name : Login to Docker Hub
6269 if : ${{ !github.event.pull_request.head.repo.fork && github.triggering_actor != 'dependabot[bot]' }}
6370 uses : docker/login-action@v3
@@ -68,10 +75,10 @@ jobs:
6875 run : npm run build:all
6976 - name : " Install dependencies"
7077 run : |
71- npm ci
78+ npm run ci
7279 ci/run_dependencies.sh ${{ matrix.versions.weaviate }}
7380 - name : " Run tests without authentication tests"
74- run : WEAVIATE_VERSION=${{ matrix.versions.weaviate }} npm test
81+ run : WEAVIATE_VERSION=${{ matrix.versions.weaviate }} npm run test
7582 - name : " Stop Weaviate"
7683 run : ci/stop_dependencies.sh ${{ matrix.versions.weaviate }}
7784
@@ -89,17 +96,19 @@ jobs:
8996 - uses : actions/setup-node@v3
9097 with :
9198 node-version : ${{ matrix.versions.node }}
99+ cache : ' pnpm'
100+ - uses : pnpm/action-setup@v3
101+ with :
102+ version : ' 10.x'
92103 - name : Login to Docker Hub
93104 if : ${{ !github.event.pull_request.head.repo.fork && github.triggering_actor != 'dependabot[bot]' }}
94105 uses : docker/login-action@v3
95106 with :
96107 username : ${{secrets.DOCKER_USERNAME}}
97108 password : ${{secrets.DOCKER_PASSWORD}}
98- - name : " Transpile the package"
99- run : npm run build:all
100109 - name : " Install dependencies"
101110 run : |
102- npm ci
111+ npm run ci
103112 ci/run_dependencies.sh ${{ matrix.versions.weaviate }}
104113 - name : " Run tests with authentication tests"
105114 if : ${{ !github.event.pull_request.head.repo.fork }}
@@ -108,7 +117,7 @@ jobs:
108117 WCS_DUMMY_CI_PW : ${{ secrets.WCS_DUMMY_CI_PW }}
109118 AZURE_CLIENT_SECRET : ${{ secrets.AZURE_CLIENT_SECRET }}
110119 OKTA_CLIENT_SECRET : ${{ secrets.OKTA_CLIENT_SECRET }}
111- run : WEAVIATE_VERSION=${{ matrix.versions.weaviate }} npm test
120+ run : WEAVIATE_VERSION=${{ matrix.versions.weaviate }} npm run test
112121 - name : " Stop Weaviate"
113122 run : ci/stop_dependencies.sh ${{ matrix.versions.weaviate }}
114123
@@ -127,7 +136,7 @@ jobs:
127136 with :
128137 node-version : ' 22.x'
129138 registry-url : ' https://registry.npmjs.org'
130- - run : npm ci
139+ - run : npm run ci
131140 - run : npm run build:all
132141 - run : npm publish
133142 env :
0 commit comments