@@ -24,34 +24,45 @@ jobs:
2424 steps :
2525 - uses : actions/checkout@v3
2626 - uses : teaxyz/setup@v0
27- - run : deno cache $(find . -name \*.ts)
28- - run : deno task test --coverage=cov_profile --no-check
29- # ^^ no check as we have a separate type-checking step and it’s noise here
27+ - run : deno cache mod.ts
28+
29+ - run : deno task test
30+ --coverage=cov_profile
31+ --no-check # ⬆signal∶noise & ∵ we have `jobs.typecheck`
32+
3033 - run : deno coverage cov_profile --lcov --exclude=tests/ --output=cov_profile.lcov
34+ if : ${{ github.event_name != 'workflow_call' }}
35+
3136 - uses : coverallsapp/github-action@v1
37+ if : ${{ github.event_name != 'workflow_call' }}
3238 with :
3339 path-to-lcov : cov_profile.lcov
3440 parallel : true
3541 flag-name : ${{ matrix.platform.id }}
3642
3743 upload-coverage :
44+ if : ${{ github.event_name != 'workflow_call' }}
3845 needs : tests
3946 runs-on : ubuntu-latest
4047 steps :
4148 - uses : coverallsapp/github-action@v1
4249 with :
4350 parallel-finished : true
4451
52+ verify-usage-as-deno-lib :
53+ # we’re checking no import-map type imports snuck in
54+ runs-on : ubuntu-latest
55+ if : ${{ github.event_name != 'workflow_call' }}
56+ steps :
57+ - uses : actions/checkout@v3
58+ with :
59+ path : src
60+ - uses : denoland/setup-deno@v1
61+ - run : deno run --no-config --unstable src/mod.ts
62+
4563 dnt :
46- runs-on : ${{ matrix.os }}
47- strategy :
48- fail-fast : false
49- matrix :
50- os :
51- - [self-hosted, macOS, X64]
52- - [self-hosted, linux, X64]
53- - [self-hosted, macOS, ARM64]
54- - [self-hosted, linux, ARM64]
64+ runs-on : ubuntu-latest
65+ if : ${{ github.event_name != 'workflow_call' }}
5566 steps :
5667 - uses : actions/checkout@v3
5768 - uses : teaxyz/setup@v0
0 commit comments