Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 17
Back Merge main to v2-beta#2518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
2e9310069e030ffc30aa7275dad420eb71deab1d5a923f4378534863File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| name: Lint | ||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| 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' | ||
| cache: 'pnpm' | ||
| - run: pnpm install --no-frozen-lockfile | ||
| - run: pnpm -r --sort --workspace-concurrency=1 run build | ||
| - run: pnpm run lint | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,48 +1,36 @@ | ||
| name: Run Unit Tests | ||
| name: Unit Tests | ||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
| jobs: | ||
| run-tests: | ||
cs-raj marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| - uses: actions/checkout@v4 | ||
| - uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 10.28.0 # or your local pnpm version | ||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| version: 10.28.0 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '22.x' | ||
| cache: 'pnpm' # optional but recommended | ||
| # - name: Temporarily disable contentstack package | ||
| # run: mv packages/contentstack/package.json packages/contentstack/package.json.disabled || true | ||
| - name: Install Dependencies (Excluding Contentstack) | ||
| run: pnpm install --no-frozen-lockfile | ||
| - name: Build all plugins (Excluding Contentstack) | ||
| run: | | ||
| NODE_ENV=PREPACK_MODE pnpm -r --sort run build | ||
| # - name: Restore contentstack package | ||
| # run: mv packages/contentstack/package.json.disabled packages/contentstack/package.json || true | ||
| - name: Run tests for Contentstack Command | ||
| cache: 'pnpm' | ||
| - run: pnpm install --no-frozen-lockfile | ||
| - run: pnpm -r --sort --workspace-concurrency=1 run build | ||
| - name: Test contentstack | ||
| working-directory: ./packages/contentstack | ||
| run: pnpm test | ||
| - name: Test contentstack-command | ||
| working-directory: ./packages/contentstack-command | ||
| run: npm run test:unit | ||
| - name: Run tests for Contentstack Config | ||
| run: pnpm test | ||
| - name: Test contentstack-config | ||
| working-directory: ./packages/contentstack-config | ||
| run: npm run test:unit | ||
| - name: Run tests for Contentstack Auth | ||
| run: pnpm test | ||
| - name: Test contentstack-auth | ||
| working-directory: ./packages/contentstack-auth | ||
| run: NODE_ENV=PREPACK_MODE npm run test:unit | ||
| run: pnpm test | ||
| # Commented out in v2-beta production | ||
| # - name: Test contentstack-utilities | ||
| # working-directory: ./packages/contentstack-utilities | ||
| # run: pnpm test | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,14 @@ | ||
| fileignoreconfig: | ||
| - filename: .github/workflows/release-production-pipeline.yml | ||
| checksum: 4aef94feea3ea0538162a9454cfd30457ec85e3123672f0933713e3d113d4504 | ||
| - filename: packages/contentstack-utilities/src/proxy-helper.ts | ||
| checksum: 2169f25563bca3a0fe54edd00c73646ed56d36aa7e8effe904de26b0c1633759 | ||
| - filename: packages/contentstack-config/test/unit/commands/proxy.test.ts | ||
| checksum: b92210826693683300728e7e82e6789f0ad697b17e6b99a8a004c9a041bced00 | ||
| - filename: packages/contentstack/test/unit/context-handler.test.ts | ||
| checksum: 6ef78899d3089685271bd16c156d057c807fd9b8560189387ae44e9576d23095 | ||
| - filename: packages/contentstack/README.md | ||
| checksum: cdd03f1f11ef3ecf04f71ed0a468501633ce92f0d487ee097312644578cb3cdc | ||
| - filename: pnpm-lock.yaml | ||
| checksum: 840d10a9ef1d60aeb0edd46a5cf8ae8306c9eee321aff72a9bb0e1a7e5031159 | ||
| checksum: 503b7df2c37c07135396c6013941e3a155c351e0cd14fe62ac65cedf6ff43bbd | ||
| version: '1.0' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "inlcude": [ | ||
| "include": [ | ||
| "lib/**/*.js" | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| import { | ||
| cliux, | ||
| CLIError, | ||
| authHandler as oauthHandler, | ||
| flags, | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.