diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d291d57..2ef8431 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,5 +20,11 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci + - run: npm run lint:check --if-present - run: npm run build --if-present - run: npm run test --if-present + - run: npm run package:pack --if-present + - uses: actions/upload-artifact@v4 + with: + name: my-artifact + path: releases/ diff --git a/.prettierignore b/.prettierignore index b9662c8..0b73de4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,4 +4,5 @@ build **/package-lock.json .vscode/ -**/public/ \ No newline at end of file +**/public/** +CHANGELOG.md \ No newline at end of file diff --git a/package.json b/package.json index 44a1d44..468fe0f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "start": "npm run watch", "watch": "concurrently \"npm run watch --prefix packages/web\" \"npm run watch --prefix packages/node\"", "build": "npm run build --workspaces --if-present", - "lint": "npx prettier --write --ignore-unknown .", + "lint:fix": "npx prettier -c -w --ignore-unknown .", + "lint:check": "npx prettier -c --ignore-unknown .", "publish:latest": "npm run publish:latest --workspaces --if-present && npm run deploy-assets", "publish:next": "npm run publish:next --workspaces --if-present && npm run deploy-assets", "package:version": "node ./scripts/package-version.mjs", diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index eddeb75..1df51b4 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -14,7 +14,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [1.4.5] -Added ThirdPartyLicenses.json Added +### Added + +- Added ThirdPartyLicenses.json Added ## [1.4.0] diff --git a/packages/node/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml b/packages/node/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml index c424b45..9c7ad98 100644 --- a/packages/node/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml +++ b/packages/node/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml @@ -1,4 +1,4 @@ -cd --- +--- type: Added # type: Added # type: Changed @@ -6,4 +6,4 @@ type: Added # type: Security # private: true description: | - Added ThirdPartyLicenses.json Added + Added ThirdPartyLicenses.json diff --git a/packages/web-data/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml b/packages/web-data/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml index 5021615..9c7ad98 100644 --- a/packages/web-data/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml +++ b/packages/web-data/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml @@ -6,4 +6,4 @@ type: Added # type: Security # private: true description: | - Added ThirdPartyLicenses.json Added + Added ThirdPartyLicenses.json diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 1ba6b66..7afb14f 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -10,7 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Added Modnet models Added -- Added option to execute on gpu (webgpu) and cpu Added +- Added option to execute on gpu (webgpu) and cpu Added - Added isnet model for webgpu Added diff --git a/packages/web/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml b/packages/web/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml index 5021615..9c7ad98 100644 --- a/packages/web/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml +++ b/packages/web/changelog/1.4.5/20242602190400-Added_ThirdPartyLicenses_json_Added.yaml @@ -6,4 +6,4 @@ type: Added # type: Security # private: true description: | - Added ThirdPartyLicenses.json Added + Added ThirdPartyLicenses.json