Skip to content

Commit

Permalink
Merge dc3bdba into 979d54e
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Oct 6, 2019
2 parents 979d54e + dc3bdba commit a72209f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
@@ -1,5 +1,7 @@
name: Lint
on: [push, pull_request]
env:
CI: true

jobs:
lint:
Expand All @@ -21,8 +23,6 @@ jobs:

- name: Install npm dependencies
run: npm ci
env:
CI: true

- name: Run Lint
run: npm run lint
6 changes: 2 additions & 4 deletions .github/workflows/test-cdn.yml
@@ -1,5 +1,7 @@
name: CDN Tests
on: [push, pull_request]
env:
CI: true

jobs:
functional-debug:
Expand All @@ -22,8 +24,6 @@ jobs:

- name: Install npm dependencies
run: npm ci
env:
CI: true

- name: Run functional tests (debug)
run: npm run mocha:only-functional:dev
Expand All @@ -48,8 +48,6 @@ jobs:

- name: Install npm dependencies
run: npm ci
env:
CI: true

- name: Run functional tests (production)
run: npm run mocha:only-functional:prod
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
@@ -1,5 +1,7 @@
name: Tests
on: [push, pull_request]
env:
CI: true

jobs:
test:
Expand All @@ -21,15 +23,11 @@ jobs:

- name: Install npm dependencies
run: npm ci
env:
CI: true

- name: Run tests with coverage
run: npm run nyc -- npm run mocha:no-functional

- name: Run Coveralls
run: npm run coveralls
if: github.repository == 'MaxCDN/bootstrapcdn' && github.event_name == 'push'
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
uses: coverallsapp/github-action@master
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -4,7 +4,6 @@
/config/*.bak
Dockme.yml
npm-debug.log
/.cache/
/.nyc_output/
/coverage/
/data/
Expand Down
26 changes: 0 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -9,8 +9,7 @@
"scripts": {
"clean": "rm -rf ./node_modules/",
"nyc": "nyc",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"eslint": "eslint . --cache --cache-location .cache/.eslintcache",
"eslint": "eslint . --cache --cache-location node_modules/.cache/.eslintcache",
"puglint": "pug-lint views/",
"pug-lint": "npm run puglint",
"lint": "npm-run-all --continue-on-error --parallel eslint puglint",
Expand Down Expand Up @@ -59,7 +58,6 @@
"bootlint": "0.16.7",
"bootstrap": "4.3.1",
"bootswatch": "4.3.1",
"coveralls": "^3.0.6",
"escape-string-regexp": "^2.0.0",
"eslint": "^6.5.1",
"fs-extra": "^8.1.0",
Expand All @@ -84,6 +82,7 @@
],
"reporter": [
"html",
"lcov",
"text-summary"
]
}
Expand Down

0 comments on commit a72209f

Please sign in to comment.