Skip to content

Commit

Permalink
refactor: make a package with new name
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreDemailly committed Jan 21, 2025
1 parent 8ffafce commit 966e849
Show file tree
Hide file tree
Showing 18 changed files with 424 additions and 144 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/lab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Sigyn Lab CI

on:
push:
branches: [main]

pull_request:
paths:
- "package-lock.json"
- "src/lab/**"
- ".github/workflows/lab.yml"
- "!src/lab/**/*.md"

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Unit tests
run: npm run test --workspace=src/lab
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Click on one of the links to access the documentation of the package:
| logql | [@sigyn/logql](./src/logql) |
| morphix | [@sigyn/morphix](./src/morphix) |
| pattern | [@sigyn/pattern](./src/pattern) |
| lab | [@sigyn/lab](./src/lab) |

### Notifiers
| name | package and link |
Expand Down
155 changes: 87 additions & 68 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"src/slack",
"src/teams",
"src/pattern",
"src/demo-api"
"src/lab"
],
"devDependencies": {
"@openally/config.eslint": "^1.3.0",
Expand All @@ -39,5 +39,8 @@
"typescript": "^5.7.2",
"vitepress": "^1.5.0"
},
"type": "module"
"type": "module",
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.31.0"
}
}
5 changes: 0 additions & 5 deletions src/demo-api/README.md

This file was deleted.

Loading

0 comments on commit 966e849

Please sign in to comment.