Skip to content

Commit

Permalink
Add CLI smoke test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Feb 24, 2024
1 parent cde8a67 commit 18b7e7b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-deno-with-cache
- id: test
run: deno test
- run: deno test
- name: CLI somke test
run: |
RUN_URL=$(gh run list -L 1 -w release --json url --jq .[].url)
deno run --allow-net --allow-write cli.ts -t "${GITHUB_TOKEN}" -o output.md $RUN_URL
cat output.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

run_self:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 18b7e7b

Please sign in to comment.