Skip to content

Commit

Permalink
Fix actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBurunkov committed Mar 7, 2021
1 parent 41367ef commit d6950f4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,25 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
setup:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install mpd
run: sudo apt install mpd
- name: Install node modules
run: npm install
lint:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ESLint
run: npm run lint
test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install mpd
run: sudo apt install mpd
- name: Install node modules
run: npm install
- name: Run Tests
run: npm test

0 comments on commit d6950f4

Please sign in to comment.