Skip to content

Commit

Permalink
add dependabot.yml
Browse files Browse the repository at this point in the history
switch to npm
  • Loading branch information
Uzlopak authored and anonrig committed Jan 2, 2023
1 parent 10e25de commit 2966db5
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 1,297 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 10

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
11 changes: 2 additions & 9 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,11 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: true

- name: Install dependencies
run: pnpm install --ignore-scripts
run: npm install --ignore-scripts

- name: Coverage
run: pnpm run test:coverage
run: npm run test:coverage

- name: Upload Coverage
uses: codecov/codecov-action@v3
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,8 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: true

- name: Install dependencies
run: pnpm install --ignore-scripts
run: npm install --ignore-scripts

- name: Linter
run: pnpm run format:ci
run: npm run format:ci
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: true

- name: Install dependencies
run: pnpm install --ignore-scripts
run: npm install --ignore-scripts

- name: Test
run: pnpm test
run: npm test
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 2966db5

Please sign in to comment.