makes pipeline run on all branches
This commit is contained in:
parent
9e03c01a53
commit
66ec2070bc
|
|
@ -4,10 +4,8 @@
|
||||||
name: Node.js CI
|
name: Node.js CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
branches: [ main ]
|
- pull_request
|
||||||
pull_request:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -19,16 +17,16 @@ jobs:
|
||||||
node-version: [14.x, 16.x, 17.x]
|
node-version: [14.x, 16.x, 17.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt -qq update
|
sudo apt -qq update
|
||||||
sudo apt install -y bluetooth bluez libbluetooth-dev libudev-dev
|
sudo apt install -y bluetooth bluez libbluetooth-dev libudev-dev
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue