Skip to content

Commit 369a8e3

Browse files
authored
cleaner ci output (#5)
1 parent 54f15fc commit 369a8e3

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/cd.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,7 @@ jobs:
3434
env:
3535
NODE_AUTH_TOKEN: ${{github.token}}
3636

37-
# provided by ChatGPT
38-
- name: Convert pre-release to release
39-
run: |
40-
curl -X PATCH \
41-
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
42-
-H "Accept: application/vnd.github.v3+json" \
43-
-d '{"draft": false}' \
44-
"https://api.github.com/repos/${{ github.repository }}/releases/${{ github.event.release.id }}"
45-
46-
tagger:
37+
publish:
4738
permissions:
4839
contents: write
4940
needs: [build]
@@ -53,3 +44,11 @@ jobs:
5344
- uses: fischerscode/tagger@v0
5445
with:
5546
prefix: v
47+
# provided by ChatGPT
48+
- name: Convert pre-release to release
49+
run: |
50+
curl -fX PATCH \
51+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
52+
-H "Accept: application/vnd.github.v3+json" \
53+
-d '{"draft": false}' \
54+
"https://api.github.com/repos/${{ github.repository }}/releases/${{ github.event.release.id }}"

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v3
2525
- uses: teaxyz/setup@v0
26-
- run: deno task test --coverage=cov_profile
26+
- run: deno cache $(find . -name \*.ts)
27+
- run: deno task test --coverage=cov_profile --no-check
28+
# ^^ no check as we have a separate type-checking step and it’s noise here
2729
- run: deno coverage cov_profile --lcov --exclude=tests/ --output=cov_profile.lcov
2830
- uses: coverallsapp/github-action@v1
2931
with:

0 commit comments

Comments
 (0)