Skip to content

Commit 652b9d2

Browse files
authored
Add dependabot yml configuration (#86)
* feat(dependabot.yml): add dependabot yml configuration * refactor(nsci):Updating the NSCI workflow
1 parent 5b5986b commit 652b9d2

File tree

4 files changed

+20
-8294
lines changed

4 files changed

+20
-8294
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.github/workflows/node.js.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [16.x]
13+
node-version: [16.x, 18.x]
1414
fail-fast: false
1515
steps:
1616
- uses: actions/checkout@v2
17-
1817
- name: Use Node.js ${{ matrix.node-version }}
1918
uses: actions/setup-node@v2
2019
with:
2120
node-version: ${{ matrix.node-version }}
2221
- name: Install dependencies
23-
run: npm ci
22+
run: npm install
2423
- name: Run tests
2524
run: npm run test
2625
- name: Send coverage report to Codecov
@@ -29,10 +28,16 @@ jobs:
2928
runs-on: ubuntu-latest
3029
strategy:
3130
matrix:
32-
node-version: [16.x]
31+
node-version: [16.x, 18.x]
3332
fail-fast: false
3433
steps:
3534
- uses: actions/checkout@v2
35+
- name: Use Node.js ${{ matrix.node-version }}
36+
uses: actions/setup-node@v3
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
- name: Install dependencies
40+
run: npm install
3641
- uses: NodeSecure/ci-action@v1
3742
with:
3843
warnings: warning

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)