Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release-production-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.28.0
- uses: actions/setup-node@v4
with:
node-version: '22.x'
node-version: '24'
registry-url: https://registry.npmjs.org/

- name: Enable Corepack
run: corepack enable
Expand All @@ -37,13 +41,17 @@ jobs:
filename: .github/config/release.json
prefix: release

- name: Update npm
run: npm install -g npm@latest

- name: Publishing core (Production)
id: publish-core
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack/package.json
tag: latest
provenance: true

- name: Create Core Production Release
id: create_release
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/release-production-platform-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.28.0
- uses: actions/setup-node@v4
with:
node-version: '22.x'
node-version: '24'
registry-url: https://registry.npmjs.org/

- name: Enable Corepack
run: corepack enable
Expand All @@ -37,13 +41,17 @@ jobs:
filename: .github/config/release.json
prefix: release

- name: Update npm
run: npm install -g npm@latest

# Utilities
- name: Publishing utilities (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-utilities/package.json
tag: latest
provenance: true

# Command
- name: Publishing command (Production)
Expand All @@ -52,6 +60,7 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-command/package.json
tag: latest
provenance: true

# Config
- name: Publishing config (Production)
Expand All @@ -60,6 +69,7 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-config/package.json
tag: latest
provenance: true

# Auth
- name: Publishing auth (Production)
Expand All @@ -68,3 +78,4 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-auth/package.json
tag: latest
provenance: true
Loading