Skip to content

Commit

Permalink
feat: parallel linting and format new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Heilemann committed Feb 12, 2020
1 parent bd3a4bb commit deee88d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 0 * * *"
- cron: "0 0 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "Stale issue message"
stale-pr-message: "Stale pull request message"
stale-issue-label: "no-issue-activity"
stale-pr-label: "no-pr-activity"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test": "run-s test:*",
"test:gatsby": "echo \"Write tests! -> https://gatsby.app/unit-testing\"",
"test:sitespeed": "echo \"Test sitespeed with sitespeed.io\"",
"lint": "run-s lint:*",
"lint": "run-p lint:*",
"lint:js-source": "eslint --cache --config src/.eslintrc.json --ext js,jsx,mdx --no-ignore src",
"lint:js-engine": "eslint --cache --ext js,jsx .",
"lint:scss": "stylelint --cache src/**/*.{scss,css}",
Expand Down Expand Up @@ -128,4 +128,4 @@
"node": ">=12",
"pnpm": ">=4"
}
}
}

1 comment on commit deee88d

@vercel
Copy link

@vercel vercel bot commented on deee88d Feb 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.