Skip to content

Commit

Permalink
Chore: typo in GitHub Actions CI workflow (#40)
Browse files Browse the repository at this point in the history
* Fix: typo in GitHub Actions CI workflow

* Update ci.yml

* Only run linting once

* Update ci.yml

* Update ci.yml
  • Loading branch information
kaicataldo committed Aug 11, 2020
1 parent 60eb528 commit b13a435
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ on:
branches:
- master
jobs:
ci:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: npm install
- name: Lint files
run: npm run lint
test:
name: Test
strategy:
matrix:
Expand All @@ -19,7 +32,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install Packages
- name: Install dependencies
run: npm install
- name: Test
run: node test
- name: Run tests
run: npm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eslint-publish-release": "./bin/eslint-publish-release.js"
},
"scripts": {
"test": "npm run lint && mocha tests/lib/*.js",
"test": "mocha tests/lib/*.js",
"lint": "eslint .",
"generate-alpharelease": "node ./bin/eslint-generate-prerelease.js alpha",
"generate-betarelease": "node ./bin/eslint-generate-prerelease.js beta",
Expand Down

0 comments on commit b13a435

Please sign in to comment.