Skip to content

Commit 558c7bc

Browse files
committed
Merge branch 'main' into development
2 parents 1814a67 + c5a9630 commit 558c7bc

4 files changed

Lines changed: 102 additions & 219 deletions

File tree

‎.github/CODEOWNERS‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
* @contentstack/devex-pr-reviewers
2-
.github/workflows/sca-scan.yml @contentstack/security-admin
3-
.github/workflows/issues-jira.yml @contentstack/security-admin
4-
.github/workflows/policy-scan.yml @contentstack/security-admin
1+
* @contentstack/developer-ecosystem-pr-reviewers
2+
.github/workflows/ @contentstack/security-admin
53
**/.snyk @contentstack/security-admin
4+
**/CODEOWNERS @contentstack/security-admin

‎.github/workflows/release-production-plugins.yml‎

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

‎.github/workflows/release.yml‎

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: Publish to npmjs registry
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
id-token: write # required so GitHub can mint the OIDC token for npm trusted publishing
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
ref: ${{ github.event.release.tag_name }}
15+
persist-credentials: false
16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 10.28.0
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: '22.x'
22+
registry-url: https://registry.npmjs.org/
23+
- name: Enable Corepack
24+
run: corepack enable
25+
- name: Install pnpm
26+
run: corepack prepare pnpm@10.28.0 --activate
27+
- name: Clean the repository
28+
run: pnpm run clean:all
29+
- name: Install root dependencies
30+
run: pnpm install --no-frozen-lockfile
31+
- name: Build all plugins
32+
run: pnpm -r --sort run build
33+
# OIDC trusted publishing requires npm CLI >= 11.5.1; bump it explicitly
34+
# since Node 22's bundled npm version may lag behind that.
35+
- name: Update npm
36+
run: npm install -g npm@latest
37+
# Asset Management
38+
- name: Publishing asset-management (Production)
39+
run: npm publish ./packages/contentstack-asset-management --access public --tag latest
40+
# Variants
41+
- name: Publishing variants (Production)
42+
run: npm publish ./packages/contentstack-variants --tag latest
43+
# Export
44+
- name: Publishing export (Production)
45+
run: npm publish ./packages/contentstack-export --tag latest
46+
# Audit
47+
- name: Publishing audit (Production)
48+
run: npm publish ./packages/contentstack-audit --tag latest
49+
# Import
50+
- name: Publishing import (Production)
51+
run: npm publish ./packages/contentstack-import --tag latest
52+
# Clone
53+
- name: Publishing clone (Production)
54+
run: npm publish ./packages/contentstack-clone --tag latest
55+
# Import Setup
56+
- name: Publishing import-setup (Production)
57+
run: npm publish ./packages/contentstack-import-setup --tag latest
58+
# Export to CSV
59+
- name: Publishing export-to-csv (Production)
60+
run: npm publish ./packages/contentstack-export-to-csv --tag latest
61+
# Migration
62+
- name: Publishing migration (Production)
63+
run: npm publish ./packages/contentstack-migration --tag latest
64+
# Migrate RTE
65+
- name: Publishing migrate-rte (Production)
66+
run: npm publish ./packages/contentstack-migrate-rte --access public --tag latest
67+
# Seed
68+
- name: Publishing seed (Production)
69+
run: npm publish ./packages/contentstack-seed --tag latest
70+
# Bootstrap
71+
- name: Publishing bootstrap (Production)
72+
run: npm publish ./packages/contentstack-bootstrap --tag latest
73+
# Branches
74+
- name: Publishing branches (Production)
75+
run: npm publish ./packages/contentstack-branches --tag latest
76+
# Apps CLI
77+
- name: Publishing apps-cli (Production)
78+
run: npm publish ./packages/contentstack-apps-cli --tag latest
79+
# Query Export
80+
- name: Publishing query-export (Production)
81+
run: npm publish ./packages/contentstack-query-export --tag latest
82+
# Content Type
83+
- name: Publishing content-type (Production)
84+
run: npm publish ./packages/contentstack-content-type --tag latest
85+
# Regex Validate
86+
- name: Publishing regex-validate (Production)
87+
run: npm publish ./packages/contentstack-cli-cm-regex-validate --access public --tag latest
88+
# Tsgen
89+
- name: Publishing tsgen (Production)
90+
run: npm publish ./packages/contentstack-cli-tsgen --tag latest
91+
# External Migrate
92+
- name: Publishing external-migrate (Production)
93+
run: npm publish ./packages/contentstack-external-migrate --access public --tag latest
94+
# Bulk Operations
95+
- name: Publishing bulk-operations (Production)
96+
run: npm publish ./packages/contentstack-bulk-operations --access public --tag latest

‎CODEOWNERS‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
* @contentstack/devex-pr-reviewers
2-
3-
.github/workflows/sca-scan.yml @contentstack/security-admin
4-
5-
.github/workflows/codeql-anaylsis.yml @contentstack/security-admin
6-
1+
* @contentstack/developer-ecosystem-pr-reviewers
2+
.github/workflows/ @contentstack/security-admin
73
**/.snyk @contentstack/security-admin
8-
9-
.github/workflows/policy-scan.yml @contentstack/security-admin
10-
11-
.github/workflows/issues-jira.yml @contentstack/security-admin
4+
**/CODEOWNERS @contentstack/security-admin

0 commit comments

Comments
 (0)