Skip to content

Commit

Permalink
refactor: npm publication workflow on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bmschmidt committed Apr 2, 2024
1 parent ec566b5 commit 634fe93
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Publish to npm and GitHub Pages

name: Publish @next release to npm
on:
# push:
# branches:
# - dev
workflow_dispatch:
inputs:
branch:
description: 'Define branch name'
required: true
default: 'dev'
push:
branches:
- dev
# workflow_dispatch:
# inputs:
# branch:
# description: 'Define branch name'
# required: true
# default: 'dev'

jobs:
publish:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"build": "vite build && tsc",
"prepublishOnly": "vite build && tsc && typedoc --skipErrorChecking src/*",
"test": "playwright test",
"test:node": "node tests/dataset.spec.js",
"lint": "eslint src",
"docs": "typedoc --out docs src/deepscatter.ts"
},
Expand Down

0 comments on commit 634fe93

Please sign in to comment.