Skip to content

Commit

Permalink
Scaffold: Normalize repository
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 4, 2020
1 parent a378277 commit ebd62b8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 19 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

12 changes: 3 additions & 9 deletions .github/workflows/dev.yml
Expand Up @@ -9,27 +9,21 @@ env:

jobs:
prettier:
name: Formatter
name: Format code
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}

steps:
- name: Checkout
uses: actions/checkout@v2
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Prettier
uses: gulpjs/prettier_action@v2.2
uses: gulpjs/prettier_action@v3.0
with:
# Push back to the same branch that was checked out
branch: ${{ github.head_ref }}
# This part is also where you can pass other options, for example:
commit_message: 'Build: Run prettier'
prettier_options: '--write .'

test:
needs: prettier
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -9,7 +9,7 @@
"repository": "gulpjs/lead",
"license": "MIT",
"engines": {
"node": ">= 10"
"node": ">=10.13.0"
},
"main": "index.js",
"files": [
Expand All @@ -25,9 +25,9 @@
"streamx": "^2.6.0"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-gulp": "^4.0.0",
"expect": "^25.4.0",
"eslint": "^7.0.0",
"eslint-config-gulp": "^5.0.0",
"expect": "^26.0.1",
"mississippi": "^1.3.0",
"mocha": "^7.1.2",
"nyc": "^15.0.1"
Expand Down
3 changes: 0 additions & 3 deletions test/.eslintrc

This file was deleted.

Empty file added test/.gitkeep
Empty file.

0 comments on commit ebd62b8

Please sign in to comment.