-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from tiago154/change-integration-coveralls-to-…
…github-actions Change integration coveralls to GitHub actions
- Loading branch information
Showing
5 changed files
with
39 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Coveralls Integration | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-and-report: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Run tests and collect coverage | ||
run: npm run test:coverage -- -u | ||
env: | ||
CI: true | ||
|
||
- name: Upload coverage to Coveralls | ||
run: npx [email protected] < ./coverage/lcov.info | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"name": "graphql-import-files", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Light and easy package that will load .graphql files and use them with syntax highlighting.", | ||
"repository": "[email protected]:tiago154/graphql-import-files.git", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"test": "jest", | ||
"coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls", | ||
"test:coverage": "jest --coverage", | ||
"build": "tsc", | ||
"coverage": "npx http-server coverage/lcov-report", | ||
"lint": "eslint ./src --ext .ts", | ||
|
@@ -35,7 +35,6 @@ | |
"@types/jest": "^29.5.5", | ||
"@typescript-eslint/eslint-plugin": "^6.7.4", | ||
"@typescript-eslint/parser": "^6.7.4", | ||
"coveralls-next": "^4.2.1", | ||
"eslint": "^8.50.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
|