Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
aa7b891
feat: update package.json and endpoints.ts to streamline regions.json…
nadeem-cs Nov 4, 2025
506aa79
Merge pull request #209 from contentstack/feat/DX-3423-endpoints-help…
nadeem-cs Nov 4, 2025
b4de174
Merge pull request #210 from contentstack/development
nadeem-cs Nov 4, 2025
dbe87ca
feat: update CI workflow to trigger on development branch for better …
nadeem-cs Nov 4, 2025
90ed971
fix: update permission to create and update check runs for test repor…
nadeem-cs Nov 4, 2025
af526d0
Merge pull request #212 from contentstack/feat/DX-3423-endpoints-help…
nadeem-cs Nov 4, 2025
0d1b4cb
fix: workflow event
nadeem-cs Nov 4, 2025
52e5e5e
Merge pull request #214 from contentstack/workflow-fix
nadeem-cs Nov 4, 2025
72a0c5e
fix: workflow fix
nadeem-cs Nov 4, 2025
5990778
Merge pull request #215 from contentstack/workflow-fix
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
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
36 changes: 33 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,57 @@ name: Unit-Test-CI

on:
push:
branches: [ master ]
branches: [ master, staging, development ]
pull_request:
branches: [ master ]
branches: [ master, staging, development ]

jobs:
build-test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
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 != ''
with:
header: Contentstack Utils JS Coverage
recreate: true
Expand Down
4 changes: 3 additions & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ fileignoreconfig:
ignore_detectors:
- filecontent
- filename: package-lock.json
checksum: d55fde89f42bf080e243915bc5c3fd1d0302e1d11c0b14deb62fef3574c5ba56
checksum: 54777ceb615ca49bc21baf255b1ee9781da7e2868ff3d4292a6715bcbed33196
- filename: src/entry-editable.ts
checksum: 3ba7af9ed1c1adef2e2bd5610099716562bebb8ba750d4b41ddda99fc9eaf115
- filename: .husky/pre-commit
checksum: 5baabd7d2c391648163f9371f0e5e9484f8fb90fa2284cfc378732ec3192c193
- filename: src/endpoints.ts
checksum: 721a1df93b02d04c1c19a76c171fe2748e4abb1fc3e43452e76fecfd8f384751
- filename: package.json
checksum: 033eb21070795be5b426183f52d784347110fcb724bc9f8d63f94898ac5f0086
Loading
Loading