Skip to content

Commit

Permalink
ci: run the workflows once for PUSHs (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv authored Feb 3, 2022
1 parent a553e77 commit d38a7ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches-ignore: [gh-pages]
paths-ignore: ['**.md']
pull_request:
branches-ignore: [gh-pages]

jobs:
build:
Expand All @@ -23,4 +21,4 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
run: npm run build
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint

on:
push:
branches-ignore: [gh-pages]
branches: [main]
paths-ignore: ['**.md']
pull_request:
branches-ignore: [gh-pages]
Expand All @@ -23,4 +23,4 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
run: npm run lint

0 comments on commit d38a7ba

Please sign in to comment.