Skip to content

Commit

Permalink
ci: Setup NodeJS in to build JS code (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt authored Apr 19, 2024
1 parent c135b89 commit f94fcde
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:

steps:
- uses: actions/checkout@v4
# requires npm because JS needs to be built
- uses: actions/setup-node@v4
with:
node-version: "18.x"
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
with:
fetch-depth: 0

# requires Node to build JS
- uses: actions/setup-node@v4
with:
node-version: "18.x"

- uses: actions/setup-python@v5
with:
python-version: "3.x"
Expand All @@ -35,9 +40,6 @@ jobs:
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npx [email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f94fcde

Please sign in to comment.