Skip to content

Commit 65d1930

Browse files
authored
Merge pull request #213 from takker99:outdated
build: Use `deno outdated` for updating dependencies
2 parents 865e7ff + d4892ee commit 65d1930

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/udd.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: update
22

3+
env:
4+
DENO_VERSION: 2.x
5+
36
on:
47
schedule:
58
- cron: "0 0 * * *"
@@ -14,6 +17,8 @@ jobs:
1417
runs-on: ubuntu-latest
1518
steps:
1619
- uses: actions/checkout@v4
17-
- uses: hasundue/molt-action@v1
20+
- uses: denoland/setup-deno@v2
1821
with:
19-
commit-prefix: ":package:"
22+
deno-version: ${{ env.DENO_VERSION }}
23+
- name: Update
24+
run: deno task update

deno.jsonc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"check": "deno fmt --check && deno lint && deno test --allow-read --doc --parallel --shuffle && deno publish --dry-run",
77
"coverage": "deno test --allow-read=./ --parallel --shuffle --coverage && deno coverage --html",
88
// from https://github.com/jsr-core/unknownutil/blob/v4.2.2/deno.jsonc#L84-L85
9-
"update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=jsr.io,registry.npmjs.org jsr:@molt/cli",
9+
"update": "deno outdated --update",
1010
"update:commit": "deno task -q update --commit --prefix deps: --pre-commit=fix"
1111
},
1212
"imports": {

0 commit comments

Comments
 (0)