diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edd08c0..2bb1373 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f38376..a426ee9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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" @@ -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 changelogithub@0.12 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}