diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..7789a02 --- /dev/null +++ b/.github/dependabot.yaml @@ -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 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 06d8634..a4775d0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/package.json b/package.json index d7aa1a9..906f5d8 100644 --- a/package.json +++ b/package.json @@ -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",