Skip to content

Commit

Permalink
Tests are optional for npm run dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrezn committed Nov 21, 2024
1 parent 59b4b4b commit 5855435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
source .venv/bin/activate
uv pip install ".[dev]"
npm i
npm run test
npm run dist
npm pack && mv *.tgz dist/
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"private::lint.eslint": "eslint src",
"private::lint.prettier": "prettier src --list-different --ignore-path=.prettierignore",
"lint": "run-s private::lint.*",
"dist": "npm run build && pytest --headless && run-s pre-flight-dag-version && rimraf build dist && python setup.py sdist bdist_wheel"
"test": "pytest --headless",
"dist": "npm run build && run-s pre-flight-dag-version && rimraf build dist && python setup.py sdist bdist_wheel"
},
"author": "Plotly <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 5855435

Please sign in to comment.