Skip to content

Commit 3112af8

Browse files
committed
Fix order of build steps in publish job
1 parent 80d9884 commit 3112af8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
node-version: ${{ matrix.node }}
2929
- name: "Run checks"
3030
run: |
31-
npm install
31+
npm ci
3232
npm run lint
3333
npm run format:check
3434
npm run docs
@@ -54,7 +54,7 @@ jobs:
5454
node-version: ${{ matrix.versions.node }}
5555
- name: "Install dependencies"
5656
run: |
57-
npm install
57+
npm ci
5858
ci/run_dependencies.sh ${{ matrix.versions.weaviate }}
5959
- name: "Run tests with authentication tests"
6060
if: ${{ !github.event.pull_request.head.repo.fork }}
@@ -88,11 +88,12 @@ jobs:
8888
with:
8989
node-version: '18.x'
9090
registry-url: 'https://registry.npmjs.org'
91-
- run: npm run docs
92-
- run: npm ci && npm run build
91+
- run: npm ci
92+
- run: npm run build
9393
- run: npm publish
9494
env:
9595
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
96+
- run: npm run docs
9697
- name: "Upload docs as pages artifact"
9798
uses: actions/upload-pages-artifact@v3
9899
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "weaviate-client",
3-
"version": "3.0.4",
3+
"version": "3.0.3",
44
"description": "JS/TS client for Weaviate",
55
"main": "dist/node/cjs/index.js",
66
"type": "module",

0 commit comments

Comments
 (0)