Skip to content

Commit

Permalink
chore: updated ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bergos committed May 27, 2024
1 parent 782a9b1 commit 4e019a3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: npm
directory: /
schedule:
interval: daily
versioning-strategy: increase-if-necessary
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
node:
- '18'
- '20'
- '21'
- '22'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"fetch-test-suite": "if [ ! -e test/support/suite ]; then git clone --depth 1 https://github.com/json-ld/normalization.git test/support/suite; fi",
"test": "stricter-standard index.js test/test.js test/support/*.js && npm run fetch-test-suite && mocha --delay"
"test": "stricter-standard index.js test/test.js test/support/*.js && npm run fetch-test-suite && c8 --reporter=lcov --reporter=text mocha --delay"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4e019a3

Please sign in to comment.