From 6374a7103942b10377fe0309eec4f8be70809ee4 Mon Sep 17 00:00:00 2001 From: "P.Conrad" Date: Tue, 23 Dec 2025 19:10:41 +0000 Subject: [PATCH 1/3] workflow) publish - first interation --- .github/workflows/publish.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..9c3a5899 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +# Publish Package Workflow for https://docs.npmjs.com/trusted-publishers +name: Publish Package + +on: + push: + tags: + - 'v*' + +permissions: + id-token: write # Required for OIDC + contents: read + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: 24 + registry-url: 'https://registry.npmjs.org' + + - run: npm install + - run: make + - run: make test-headless + - run: npm publish \ No newline at end of file From ad777adf721dfd7a4981c8319a2c6b804a9da361 Mon Sep 17 00:00:00 2001 From: "P.Conrad" Date: Tue, 23 Dec 2025 19:28:22 +0000 Subject: [PATCH 2/3] workflow) update to lerna --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9c3a5899..d5fc3e5d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,10 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm install + - run: make + - run: make tsc - run: make test-headless - - run: npm publish \ No newline at end of file + - run: make test-headless-jquery + + - run: npx lerna publish from-package --yes \ No newline at end of file From 3dd304c6529abd1e1d348e5372e105a25aee1029 Mon Sep 17 00:00:00 2001 From: "P.Conrad" Date: Wed, 24 Dec 2025 08:30:59 +0000 Subject: [PATCH 3/3] workflow) disable publishing for live testing --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d5fc3e5d..c84593b3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,4 +29,5 @@ jobs: - run: make test-headless - run: make test-headless-jquery - - run: npx lerna publish from-package --yes \ No newline at end of file + - run: make link + - run: npx lerna publish from-package --yes --skip-npm --no-git-tag-version \ No newline at end of file