Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
733de10
Merge pull request #197 from contentstack/development
harshithad0703 Oct 27, 2025
d8a3ab3
chore: update codeowners and remove secrets scan workflow
harshithad0703 Oct 27, 2025
99c2379
Merge pull request #199 from contentstack/fix/workflow
harshithad0703 Oct 27, 2025
2776804
Merge pull request #195 from contentstack/staging
harshithad0703 Oct 27, 2025
6a8734b
Merge pull request #202 from contentstack/development
harshithad0703 Oct 29, 2025
9725c8a
Merge pull request #204 from contentstack/master
harshithad0703 Oct 29, 2025
ac7e13b
Merge pull request #206 from contentstack/development
nadeem-cs Oct 31, 2025
8cacebc
Merge pull request #208 from contentstack/development
nadeem-cs Nov 3, 2025
bb0f83b
Merge pull request #203 from contentstack/staging
harshithad0703 Nov 3, 2025
b4de174
Merge pull request #210 from contentstack/development
nadeem-cs Nov 4, 2025
05423cd
Merge pull request #213 from contentstack/development
nadeem-cs Nov 4, 2025
d9a88f5
Merge pull request #216 from contentstack/master
harshithad0703 Nov 4, 2025
2793b32
feat: add workflow step to download regions.json file
nadeem-cs Nov 4, 2025
3d67db6
Merge pull request #217 from contentstack/workflow-fix
nadeem-cs Nov 4, 2025
cf6c147
fix: use script from package.json to run in workflow action
nadeem-cs Nov 4, 2025
3e46ff2
Merge pull request #218 from contentstack/workflow-fix
nadeem-cs Nov 4, 2025
e979405
chore: add verbose flag to download region script
nadeem-cs Nov 5, 2025
104c4b8
Merge pull request #220 from contentstack/workflow-fix
nadeem-cs Nov 5, 2025
1dd575a
chore: add debugging steps to CI workflow and update test command in …
nadeem-cs Nov 5, 2025
8c19173
Merge pull request #221 from contentstack/workflow-fix
nadeem-cs Nov 5, 2025
808e718
chore: add skip-step option to CI workflow for improved control over …
nadeem-cs Nov 5, 2025
37fb833
fix: update ci.yml
nadeem-cs Nov 5, 2025
2825d4e
Merge pull request #222 from contentstack/workflow-fix
nadeem-cs Nov 6, 2025
557f4a5
Merge pull request #211 from contentstack/staging
nadeem-cs Nov 6, 2025
068f470
Merge pull request #224 from contentstack/master
nadeem-cs Nov 6, 2025
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
28 changes: 27 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,41 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v3
- name: Check working directory after checkout
run: pwd
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: npm ci
- name: Check working directory after setup-node
run: pwd
- name: Install dependencies
run: |
pwd
npm ci
- name: Download regions.json
run: |
pwd
ls -la
mkdir -p dist/lib
pwd
npm run download-regions
pwd
ls -la dist/lib/ || echo "dist/lib does not exist"
if [ ! -f dist/lib/regions.json ]; then
echo "Error: regions.json was not downloaded successfully"
exit 1
fi
- name: Check working directory before tests
run: |
pwd
ls -la
- uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage-utils-js
continue-on-error: true
with:
output: comment, report-markdown
test-script: npm test
skip-step: install
- uses: marocchino/sticky-pull-request-comment@v2
continue-on-error: true
if: steps.coverage-utils-js.outputs.report != ''
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/secrets-scan.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ fileignoreconfig:
checksum: 5baabd7d2c391648163f9371f0e5e9484f8fb90fa2284cfc378732ec3192c193
- filename: src/endpoints.ts
checksum: 721a1df93b02d04c1c19a76c171fe2748e4abb1fc3e43452e76fecfd8f384751
- filename: package.json
checksum: 033eb21070795be5b426183f52d784347110fcb724bc9f8d63f94898ac5f0086
12 changes: 11 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
* @contentstack/security-admin
* @contentstack/devex-pr-reviewers

.github/workflows/sca-scan.yml @contentstack/security-admin

.github/workflows/codeql-anaylsis.yml @contentstack/security-admin

**/.snyk @contentstack/security-admin

.github/workflows/policy-scan.yml @contentstack/security-admin

.github/workflows/issues-jira.yml @contentstack/security-admin
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"clear:reports": "rm -rf reports",
"clear:badges": "rm -rf badges",
"pretest": "npm run build",
"test": "npm run clear:reports && jest --ci --json --coverage --testLocationInResults --outputFile=./reports/report.json",
"test": "npm run clear:reports && pwd && jest --ci --json --coverage --testLocationInResults --outputFile=./reports/report.json",
"test:badges": "npm run clear:badges && npm run test && jest-coverage-badges --input ./reports/coverage/coverage-summary.json --output ./badges",
"test:debug": "jest --watchAll --runInBand",
"prebuild": "rimraf dist && mkdir -p dist/lib && npm run download-regions",
"download-regions": "curl -s --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o dist/lib/regions.json || echo 'Warning: Failed to download regions.json'",
"download-regions": "curl -v --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o dist/lib/regions.json || echo 'Warning: Failed to download regions.json'",
"build": "tsc && rollup -c",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "husky install && npm run build",
Expand Down
Loading