Skip to content

Commit 31cd346

Browse files
authored
Merge pull request #183 from takker99:udd
ci(@molt/cli): Wrong command name
2 parents 9c3048d + 7a9c509 commit 31cd346

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: ci
22

3+
env:
4+
DENO_VERSION: 1.x
5+
36
on: [push, pull_request]
47

58
jobs:
69
test:
710
runs-on: ubuntu-latest
811
steps:
9-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1013
- uses: denoland/setup-deno@v1
1114
with:
12-
deno-version: "v1.x"
15+
deno-version: ${{ env.DENO_VERSION }}
1316
- name: Check fmt & lint & type check & test
1417
run: deno task check:dry

.github/workflows/udd.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# ported from https://github.com/jsr-core/unknownutil/blob/v3.18.1/.github/workflows/udd.yml and modified a bit
22
name: Update
33

4+
env:
5+
DENO_VERSION: 1.x
6+
47
on:
58
schedule:
69
- cron: "0 0 * * *"
@@ -13,10 +16,10 @@ jobs:
1316
- uses: actions/checkout@v4
1417
- uses: denoland/setup-deno@v1
1518
with:
16-
deno-version: "1.x"
19+
deno-version: ${{ env.DENO_VERSION }}
1720
- name: Update dependencies
1821
run: |
19-
deno task upgrade > ../output.txt
22+
deno task update > ../output.txt
2023
env:
2124
NO_COLOR: 1
2225
- name: Read ../output.txt

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"tasks": {
55
"check": "deno fmt && deno lint --fix && deno check --remote **/*.ts && deno test --allow-read",
66
"check:dry": "deno fmt --check && deno lint && deno check --remote **/*.ts && deno test --allow-read",
7-
"update:check": "deno run --allow-env --allow-read --allow-write=.,'~/.local/share/deno-wasmbuild' --allow-run=git,deno --allow-net=deno.land,raw.githubusercontent.com,esm.sh,jsr.io,registry.npmjs.org jsr:@molt/cli@0.19",
7+
"update:check": "deno run --allow-env --allow-read --allow-write=.,'~/.local/share/deno-wasmbuild' --allow-run=git,deno --allow-net=deno.land,raw.githubusercontent.com,esm.sh,jsr.io,api.jsr.io,registry.npmjs.org jsr:@molt/cli@0.19",
88
"update": "deno task update:check --write",
99
"publish:check": "deno task check:dry && deno publish --dry-run --allow-dirty",
1010
"publish": "deno run --allow-env --allow-run=deno --allow-read --allow-write=deno.jsonc jsr:@david/publish-on-tag@0.1.x"

0 commit comments

Comments
 (0)