Skip to content

Commit

Permalink
Dep alert (#393)
Browse files Browse the repository at this point in the history
* chore: Dependabot

* chore: Dependabot

* chore: Dependabot

* chore: Dependabot

* chore: Dependabot

* chore: Dependabot
  • Loading branch information
rrr523 authored Nov 20, 2023
1 parent 4c83293 commit beefe87
Show file tree
Hide file tree
Showing 5 changed files with 259 additions and 124 deletions.
6 changes: 3 additions & 3 deletions .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ description: PNPM install deps
runs:
using: composite
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '18.17.0'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
Expand Down
29 changes: 29 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/packages/"
schedule:
interval: "weekly"
day: "sunday"
time: "16:00"
groups:
npm-dependencies:
patterns:
- "@npmcli/arborist"
- "nock"
- "npm"
- "semver"
exclude-patterns:
- "detect-indent" # temp excluded due to https://github.com/dependabot/dependabot-core/pull/5683#issuecomment-1243468605
pnpm-dependencies:
patterns:
- "@pnpm/lockfile-file"
- "@pnpm/dependency-path"
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
ignore:
- dependency-name: "npm"
update-types: ["version-update:semver-major"]
10 changes: 4 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/action-setup@v2
with:
version: 7
- run: pnpm install
persist-credentials: false

- uses: ./.github/actions/ci-setup

- run: pnpm -F "@bnb-chain/**" run lint
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"evmosjs": "^0.2.17",
"lodash": "^4.17.21",
"long": "^5.2.1",
"next": "13.5.0",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "^4.7.4",
Expand Down
Loading

0 comments on commit beefe87

Please sign in to comment.