Skip to content

Commit

Permalink
Pin python version, add missing pip pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgelenas committed Jan 24, 2024
1 parent bea42de commit e6b62fc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ jobs:
with:
node-version: 16.16.0
cache: 'yarn'


# required for node gyp / serialport module
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install setuptools

- name: Install dependencies
run: |
yarn install --prefer-offline --network-timeout 180000
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
node-version: 16.16.0
cache: 'yarn'

# required for node gyp / serialport module
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install setuptools

- name: Install dependencies
run: |
yarn install --network-timeout 180000
Expand Down

0 comments on commit e6b62fc

Please sign in to comment.