Skip to content

Commit

Permalink
ci: update to node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
rithvikvibhu authored and pinheadmz committed Feb 9, 2022
1 parent e5f0cb4 commit 1c9f05f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ on:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [11.x]
node-version: ['14', '16']

steps:
- uses: actions/checkout@v2
Expand All @@ -24,6 +26,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt update && sudo apt install libudev-dev libusb-1.0-0-dev -y
- run: npm i
- run: rm package-lock.json; npm i --legacy-peer-deps
- run: npm run build --if-present
- run: npm test
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x

- name: Install dependencies
run: sudo apt update && sudo apt install libudev-dev libusb-1.0-0-dev -y
Expand Down

0 comments on commit 1c9f05f

Please sign in to comment.