Skip to content

Commit

Permalink
cleanup workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Nov 25, 2023
1 parent 26959cd commit 19a1651
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ jobs:

- name: setup prerequisites (linux)
run: |
sudo apt update
sudo apt update
sudo apt install pkg-config libudev-dev libusb-1.0-0-dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: npm run prepublishOnly
- run: npm install --build-from-source
# - run: npm ci
# - run: npm run build --if-present
- run: npm test
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Python ${{ matrix.python }}

- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11 # ${{ matrix.python }}
env:
PYTHON_VERSION: 3.11 # ${{ matrix.python }} # Why do this?

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm run prepublishOnly
- run: npm install --build-from-source
- run: npm test

0 comments on commit 19a1651

Please sign in to comment.