Skip to content

Commit

Permalink
chore(dev): attempt to remediate distutils deprecation in Python 3.12…
Browse files Browse the repository at this point in the history
… (node-gyp break)
  • Loading branch information
danielweck committed Nov 23, 2023
1 parent 5d2aa4d commit 85f494a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ jobs:
- run: node --version && npm --version
- run: npm --global install npm@^9
- run: npm --version
- run: python --version || echo ok
- run: python3 --version || echo ok
- run: pip --version || echo ok
# PYTHON 3.12 distutils deprecation remediation:
#- run: python3 -m pip install packaging || python -m pip install packaging
- run: python3 -m pip install setuptools || python -m pip install setuptools
# - run: npm --global install asar
- name: package patch 1
run: node scripts/package-ci-patch.js package.json ${{ github.run_id }} && cat package.json | grep -i VERSION && cat package.json
Expand All @@ -100,6 +106,8 @@ jobs:
- run: npm cache verify
- run: cat package-lock.json | grep -i divina-player-js
- run: npm ci
- run: npm list -g node-gyp || echo ok
- run: npm list node-gyp || echo ok
- name: PR action (just build)
if: ${{ github.event_name == 'pull_request' }}
run: npm run build:prod
Expand Down

0 comments on commit 85f494a

Please sign in to comment.