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