Skip to content

Commit

Permalink
ci: update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloucker committed Jun 5, 2023
1 parent 0648c71 commit 4e77e5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
node-version: [ 14, 16, 18 ]

steps:
- uses: actions/checkout@v3
Expand All @@ -21,5 +21,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
"postcss": "^8.4.23"
},
"scripts": {
"test": "jest",
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint ./lib",
"prepublish": "npm run lint && npm test"
},
Expand Down

0 comments on commit 4e77e5b

Please sign in to comment.