Skip to content

Commit b7f9ea8

Browse files
committed
release: v2.5.142 stable
Cut stable release from v2.5-beta: - Remove -beta suffix from version - Replace legacy publish workflows with unified npmpublish.yml (OIDC-based) - Update VERSION file Part of QCObjects/qcobjects-cli#8
1 parent 1ec7d81 commit b7f9ea8

7 files changed

Lines changed: 49 additions & 154 deletions

File tree

.github/workflows/npmpublish-beta.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/npmpublish-lts.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/npmpublish-main.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/npmpublish-ts.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/npmpublish.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Node.js Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ref: ${{ github.ref }}
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
- run: npm i --legacy-peer-deps
20+
- run: npm test
21+
22+
publish-npm:
23+
needs: build
24+
runs-on: ubuntu-latest
25+
permissions:
26+
contents: read
27+
id-token: write
28+
steps:
29+
- uses: actions/checkout@v4
30+
with:
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
ref: ${{ github.ref }}
33+
- uses: actions/setup-node@v4
34+
with:
35+
node-version: 22
36+
- name: Upgrade npm for OIDC support (requires >=11.5.1)
37+
run: npm install -g npm@latest
38+
- run: npm i --legacy-peer-deps
39+
- name: Publish to npm
40+
run: |
41+
if [[ "${{ github.ref }}" == *-beta ]]; then
42+
npm publish --tag beta
43+
elif [[ "${{ github.ref }}" == *-lts ]]; then
44+
npm publish --tag lts
45+
else
46+
npm publish
47+
fi

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.142-beta
1+
2.5.142

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qcobjects",
3-
"version": "2.5.142-beta",
3+
"version": "2.5.142",
44
"description": "QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.",
55
"main": "public/cjs/index.cjs",
66
"module": "public/esm/index.mjs",

0 commit comments

Comments
 (0)