mirror of
https://github.com/stakwork/sphinx-relay.git
synced 2026-08-13 12:33:24 +02:00
on PRs github cant push, so dont try and split lint workflow to only push on master
This commit is contained in:
parent
9491096d8f
commit
106e131fb3
3 changed files with 18 additions and 6 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -3,9 +3,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
|
@ -3,9 +3,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
|||
18
.github/workflows/lint_pr.yml
vendored
Normal file
18
.github/workflows/lint_pr.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Lint (Pull Request)
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint (Pull Request)
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: install npm dependencies
|
||||
run: npm i
|
||||
- name: lint
|
||||
run: npm run lint
|
||||
Loading…
Add table
Add a link
Reference in a new issue