Skip to content

Commit 3402887

Browse files
author
zoedsoupe
committed
setup: correctly configure auto-publish workflow
1 parent ba9090d commit 3402887

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
- name: Install dependencies
2525
run: npm ci
2626

27-
- name: Run tests
28-
run: npm test
29-
3027
- name: Check code formatting
3128
run: npm run format:check
3229

@@ -39,6 +36,9 @@ jobs:
3936
- name: Build project
4037
run: npm run build
4138

39+
- name: Run tests
40+
run: npx vitest run -c vitest.config.js
41+
4242
- name: Publish to npm
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"homepage": "https://tidewave.ai",
1313
"repository": {
1414
"type": "git",
15-
"url": "https://github.com/dashbit/tidewave_javascript.git"
15+
"url": "git+https://github.com/dashbit/tidewave_javascript.git"
1616
},
1717
"license": "Apache-2.0",
1818
"author": "Dashbit",

0 commit comments

Comments
 (0)