Skip to content

Commit c8ea680

Browse files
authored
Merge pull request #30 from pkgxdev/integrate-with--silent
integrate does `--silent`
2 parents 773b7fa + d2a0522 commit c8ea680

File tree

3 files changed

+34
-15
lines changed

3 files changed

+34
-15
lines changed

.github/workflows/ci.action.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
paths:
6+
- action.js
7+
pull_request:
8+
paths:
9+
- action.yml
10+
- action.js
11+
12+
jobs:
13+
test1:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
container:
18+
- null
19+
- ubuntu:latest
20+
container: ${{ matrix.container }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
- run: "! deno"
24+
- uses: ./
25+
- run: deno --version
Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,17 @@ on:
22
push:
33
branches:
44
- main
5+
paths:
6+
- app.ts
57
pull_request:
8+
paths:
9+
- app.ts
10+
- src/**.ts
11+
- deno.json
12+
- deno.lock
13+
- README.md
614

715
jobs:
8-
test-action:
9-
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
container:
13-
- null
14-
- ubuntu:latest
15-
container: ${{ matrix.container }}
16-
steps:
17-
- uses: actions/checkout@v4
18-
- run: "! deno"
19-
- uses: ./
20-
- run: deno --version
21-
2216
lint:
2317
runs-on: ubuntu-latest
2418
steps:

src/integrate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default async function (
9090
}
9191

9292
function shells(): [Path, string][] {
93-
const eval_ln = 'eval "$(pkgx dev --shellcode)"';
93+
const eval_ln = 'eval "$(pkgx --silent dev --shellcode)"';
9494

9595
const zdotdir = flatmap(Deno.env.get("ZDOTDIR"), Path.abs) ?? Path.home();
9696
const zshpair: [Path, string] = [zdotdir.join(".zshrc"), eval_ln];

0 commit comments

Comments
 (0)