Skip to content

Commit

Permalink
Add dependabot yml configuration (NodeSecure#86)
Browse files Browse the repository at this point in the history
* feat(dependabot.yml): add dependabot yml configuration

* refactor(nsci):Updating the NSCI workflow
  • Loading branch information
fabnguess authored Jan 23, 2023
1 parent 5b5986b commit 652b9d2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8,294 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
13 changes: 9 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.x]
fail-fast: false
steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm install
- name: Run tests
run: npm run test
- name: Send coverage report to Codecov
Expand All @@ -29,10 +28,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.x]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- uses: NodeSecure/ci-action@v1
with:
warnings: warning
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
Loading

0 comments on commit 652b9d2

Please sign in to comment.