Skip to content

Commit

Permalink
Merge pull request #5 from Libertai/reza/knowledge
Browse files Browse the repository at this point in the history
Refactored knowledge base.
  • Loading branch information
aliel authored Sep 11, 2024
2 parents 2532836 + 236397e commit f72bfce
Show file tree
Hide file tree
Showing 14 changed files with 199 additions and 2,270 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
name: Build

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
on: push

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build
Expand Down
23 changes: 6 additions & 17 deletions .github/workflows/fmt.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
name: FormatCheck

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
on: push

jobs:
format-check:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
Expand Down
23 changes: 6 additions & 17 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
name: Lint

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
on: push

jobs:
lint:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-yarn-
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
Expand Down
Loading

0 comments on commit f72bfce

Please sign in to comment.