Skip to content

ci(@molt/cli): Wrong command name #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: ci

env:
DENO_VERSION: 1.x

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: "v1.x"
deno-version: ${{ env.DENO_VERSION }}
- name: Check fmt & lint & type check & test
run: deno task check:dry
7 changes: 5 additions & 2 deletions .github/workflows/udd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# ported from https://github.com/jsr-core/unknownutil/blob/v3.18.1/.github/workflows/udd.yml and modified a bit
name: Update

env:
DENO_VERSION: 1.x

on:
schedule:
- cron: "0 0 * * *"
Expand All @@ -13,10 +16,10 @@ jobs:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: "1.x"
deno-version: ${{ env.DENO_VERSION }}
- name: Update dependencies
run: |
deno task upgrade > ../output.txt
deno task update > ../output.txt
env:
NO_COLOR: 1
- name: Read ../output.txt
Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"tasks": {
"check": "deno fmt && deno lint --fix && deno check --remote **/*.ts && deno test --allow-read",
"check:dry": "deno fmt --check && deno lint && deno check --remote **/*.ts && deno test --allow-read",
"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",
"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",
"update": "deno task update:check --write",
"publish:check": "deno task check:dry && deno publish --dry-run --allow-dirty",
"publish": "deno run --allow-env --allow-run=deno --allow-read --allow-write=deno.jsonc jsr:@david/publish-on-tag@0.1.x"
Expand Down