Skip to content

Commit 0b486c7

Browse files
committed
fix cd
1 parent 8d7a092 commit 0b486c7

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
registry-url: https://registry.npmjs.org
5252

5353
- run: npm publish --access public
54-
working-directory: dist
54+
working-directory: artifact
5555
env:
5656
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5757

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
--no-check # ⬆signal∶noise & ∵ we have `jobs.typecheck`
3232

3333
- run: deno coverage cov_profile --lcov --exclude=tests/ --output=cov_profile.lcov
34-
if: ${{ github.event_name != 'workflow_call' }}
34+
if: ${{ github.event_name != 'release' }}
3535

3636
- uses: coverallsapp/github-action@v1
37-
if: ${{ github.event_name != 'workflow_call' }}
37+
if: ${{ github.event_name != 'release' }}
3838
with:
3939
path-to-lcov: cov_profile.lcov
4040
parallel: true
4141
flag-name: ${{ matrix.platform.id }}
4242

4343
upload-coverage:
44-
if: ${{ github.event_name != 'workflow_call' }}
44+
if: ${{ github.event_name != 'release' }}
4545
needs: tests
4646
runs-on: ubuntu-latest
4747
steps:
@@ -52,7 +52,6 @@ jobs:
5252
verify-usage-as-deno-lib:
5353
# we’re checking no import-map type imports snuck in
5454
runs-on: ubuntu-latest
55-
if: ${{ github.event_name != 'workflow_call' }}
5655
steps:
5756
- uses: actions/checkout@v3
5857
with:
@@ -62,7 +61,7 @@ jobs:
6261

6362
dnt:
6463
runs-on: ubuntu-latest
65-
if: ${{ github.event_name != 'workflow_call' }}
64+
if: ${{ github.event_name != 'release' }}
6665
steps:
6766
- uses: actions/checkout@v3
6867
- uses: teaxyz/setup@v0

src/hooks/useConfig.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function ConfigDefault(env = Deno.env.toObject()): Config {
2222
const pantries = env['TEA_PANTRY_PATH']?.split(":").compact(x => flatmap(x.trim(), x => Path.abs(x) ?? Path.cwd().join(x))) ?? []
2323
const cache = Path.abs(env['TEA_CACHE_DIR']) ?? prefix.join('tea.xyz/var/www')
2424
const isCI = boolize(env['CI']) ?? false
25+
//TODO prefer 'xz' on Linux (as well) if supported
2526
const compression = !isCI && host().platform == 'darwin' ? 'xz' : 'gz'
2627
return {
2728
prefix,

0 commit comments

Comments
 (0)