Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

chore: adjust workflows to match all branches on push #1472

Merged
merged 2 commits into from
Sep 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Lint

on:
push:
branches:
- '**'
pull_request:
types: [ready_for_review, synchronize, opened]
push:
branches:
- '*'
- '*/*'
pull_request:
types: [ready_for_review, synchronize, opened]

jobs:
source:
Expand All @@ -17,16 +18,21 @@ jobs:

steps:
- uses: actions/checkout@v1

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

- name: Update System
run: sudo apt-get update

- name: Ledger
run: sudo apt-get install libudev-dev libusb-1.0-0-dev

- name: Install
run: yarn global add node-gyp && yarn install --frozen-lockfile && npm rebuild

- name: Lint
run: yarn lint

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Test & Build
on:
push:
branches:
- "**"
- '*'
- '*/*'
pull_request:
types: [ready_for_review, synchronize, opened]

Expand Down