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 20, 2025
1 parent 8ffafce commit be967a2
Show file tree
Hide file tree
Showing 17 changed files with 400 additions and 143 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
136 changes: 68 additions & 68 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion 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 Down
5 changes: 0 additions & 5 deletions src/demo-api/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions src/demo-api/src/index.ts

This file was deleted.

Loading

0 comments on commit be967a2

Please sign in to comment.