Skip to content

Commit 65eb9ba

Browse files
authored
feat: add option to extend prompt (#6)
* test: add basic test * test: read only case * feat: add custom prompt * ci: run tests * ci: run tests in another job * 1.1.0 * ci: remove schedule * ci: run jobs on PRs
1 parent 57507d0 commit 65eb9ba

5 files changed

Lines changed: 705 additions & 25 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,32 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [master]
97
types: [opened, synchronize, reopened]
108
pull_request_review:
119
types: [submitted]
12-
schedule:
13-
# At 04:35 AM, every 3 days
14-
# test expression on https://crontab.cronhub.io/
15-
- cron: "35 4 */3 * *"
16-
1710
workflow_dispatch:
1811

1912
jobs:
20-
# TODO: enable tests
21-
# tests:
22-
# name: Run tests
23-
# runs-on: ubuntu-latest
13+
tests:
14+
name: Run tests
15+
runs-on: ubuntu-latest
2416

25-
# steps:
26-
# - uses: actions/checkout@v2
27-
# - uses: actions/setup-node@v2
28-
# with:
29-
# node-version: "22"
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-node@v2
20+
with:
21+
node-version: "22"
3022

31-
# - name: Install deps
32-
# run: npm install
23+
- name: Install deps
24+
run: npm install
3325

34-
# - name: Run tests
35-
# run: npm test
26+
- name: Run tests
27+
run: npm test
3628

3729
lint:
38-
name: Run linter
30+
name: Lint and test
3931
runs-on: ubuntu-latest
4032

4133
steps:

0 commit comments

Comments
 (0)