test - #38
Conversation
Revert "Implement Hardware-Optimized Data-Free QAT Framework for Open…
…arn-eca7abf8ab Bump pbkdf2 from 3.1.2 to 3.1.3 in the npm_and_yarn group across 1 directory
Co-authored-by: dtecho <187844575+dtecho@users.noreply.github.com>
Fix UnoCSS configuration syntax error for Cloudflare Pages deployment
Co-authored-by: dtecho <187844575+dtecho@users.noreply.github.com>
Fix build failure caused by malformed worker file generation
…regenerating pnpm-lock.yaml Co-authored-by: dtecho <187844575+dtecho@users.noreply.github.com>
Resolve merge conflicts in PR #1 by harmonizing package.json and regenerating pnpm-lock.yaml
…dates Bumps the npm_and_yarn group with 4 updates in the / directory: [dompurify](https://github.com/cure53/DOMPurify), [pnpm](https://github.com/pnpm/pnpm/tree/HEAD/pnpm), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `dompurify` from 3.2.3 to 3.2.4 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@3.2.3...3.2.4) Updates `pnpm` from 9.15.3 to 10.0.0 - [Release notes](https://github.com/pnpm/pnpm/releases) - [Changelog](https://github.com/pnpm/pnpm/blob/main/pnpm/CHANGELOG.md) - [Commits](https://github.com/pnpm/pnpm/commits/v10.0.0/pnpm) Updates `vite` from 6.0.11 to 6.1.6 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.1.6/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.1.6/packages/vite) Updates `vitest` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest) --- updated-dependencies: - dependency-name: dompurify dependency-version: 3.2.4 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: pnpm dependency-version: 10.0.0 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 6.1.6 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vitest dependency-version: 2.1.9 dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
…arn-040f094cdb chore(deps): bump the npm_and_yarn group across 1 directory with 4 updates
|
|
|
|
||
| # https://github.com/redhat-actions/openshift-tools-installer/blob/main/README.md | ||
| - name: Install CRDA CLI | ||
| uses: redhat-actions/openshift-tools-installer@v1 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow
| # process to get a SNYK_TOKEN or a CRDA_KEY | ||
| - name: CRDA Scan | ||
| id: scan | ||
| uses: redhat-actions/crda@v1 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow
| - name: Setup pnpm | ||
| # You may pin to the exact commit or the version. | ||
| # uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 | ||
| uses: pnpm/action-setup@v4.0.0 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '20' | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| npm install | ||
| npm install -g wrangler | ||
|
|
||
| - name: List Workers | ||
| if: github.event.inputs.action == 'list' | ||
| run: wrangler workers list | ||
| env: | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
|
|
||
| - name: Deploy to Production | ||
| if: github.event.inputs.action == 'deploy-production' | ||
| run: | | ||
| npm run build | ||
| wrangler deploy --env production | ||
| env: | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
|
|
||
| - name: Deploy to Staging | ||
| if: github.event.inputs.action == 'deploy-staging' | ||
| run: | | ||
| npm run build | ||
| wrangler deploy --env staging | ||
| env: | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
|
|
||
| - name: Cleanup Workers | ||
| if: github.event.inputs.action == 'cleanup' | ||
| run: | | ||
| npm install @cloudflare/workers-sdk tsx --save-dev | ||
| npx tsx scripts/cleanup-workers.ts | ||
| env: | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| submodules: true | ||
| token: ${{ secrets.GH_PAT }} # Need this for pushing updates | ||
|
|
||
| - name: Git Submodule Update | ||
| run: | | ||
| git submodule update --init --recursive | ||
| git submodule update --remote --merge | ||
|
|
||
| - name: Commit Updates | ||
| run: | | ||
| git config --global user.name 'github-actions[bot]' | ||
| git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
| git add . | ||
| git diff-index --quiet HEAD || git commit -m "chore: update submodules" | ||
|
|
||
| - name: Push Updates | ||
| run: git push | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GH_PAT }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions
| name: Deploy Pages and Worker | ||
| runs-on: ubuntu-latest | ||
|
|
||
| env: | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | ||
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
|
|
||
| steps: | ||
| # Step 1: Checkout Repository | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| # Step 2: Set Up Node.js | ||
| - name: Set Up Node.js | ||
| uses: actions/setup-node@v4 | ||
| # with: | ||
| # node-version: 18 | ||
|
|
||
| - name: Setup pnpm | ||
| # You may pin to the exact commit or the version. | ||
| # uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 | ||
| uses: pnpm/action-setup@v4 | ||
| # with: | ||
| # Version of pnpm to install | ||
| # version: # optional | ||
| # Where to store pnpm files | ||
| # dest: # optional, default is ~/setup-pnpm | ||
| # If specified, run `pnpm install` | ||
| # run_install: # optional, default is null | ||
| # File path to the package.json to read "packageManager" configuration | ||
| # package_json_file: # optional, default is package.json | ||
| # When set to true, @pnpm/exe, which is a Node.js bundled package, will be installed, enabling using pnpm without Node.js. | ||
| # standalone: # optional, default is false | ||
|
|
||
|
|
||
| # Step 3: Install Dependencies | ||
| - name: Install Dependencies | ||
| run: pnpm install -g wrangler && pnpm install --no-frozen-lockfile | ||
|
|
||
| # Step 4: Build Project | ||
| - name: Build Project | ||
| run: pnpm run build | ||
|
|
||
| # Step 5: Deploy to Pages | ||
| - name: Deploy to Cloudflare Pages | ||
| # run: wrangler pages deploy ./build/client | ||
| run: npx wrangler pages deploy ./build/client |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions
| - name: Setup pnpm | ||
| # You may pin to the exact commit or the version. | ||
| # uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 | ||
| uses: pnpm/action-setup@v4 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow
✅ Deploy Preview for profound-pika-3e26ee ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
- Resolved unrelated histories issue by allowing merge - Kept main branch versions for core application files and configurations - Applied improved .bolt/prompt formatting from drzo/patch-50475 - Added .tool-versions and functions/[[path]].ts from drzo/patch-50475 - All conflicts resolved while preserving functionality from both branches
Resolve merge conflicts between main and drzo/patch-50475 branches
This pull request introduces several significant changes related to deployment workflows, project configuration, and dependency management. Key updates include the addition of new deployment scripts, configuration files for automation tools, and enhancements to issue templates. Below is a categorized summary of the most important changes:
Deployment and Build Enhancements:
.cloudflare/build.sh: Added a build script usingnpmfor dependency installation and application build..cloudflare/pages.json: Configured Cloudflare Pages with build and install commands, output directory, and framework specification..github/workflows/deploy.yml: Updated the deployment workflow to include staging and production environments, conditional deployment based on event triggers, and improved deployment status notifications.Automation and CI/CD Improvements:
.github/workflows/ci.yaml: Replaced type checking and testing steps with build, linting, and deployment steps usingwrangler..github/workflows/codeql-adv.yml: Added a CodeQL Advanced workflow for security analysis of JavaScript and TypeScript code..github/workflows/crda.yml: Introduced a CRDA workflow for scanning project vulnerabilities using Red Hat CodeReady Dependency Analytics.Dependency and Configuration Updates:
.cloudflare/package.json: Definednpmscripts for building the application and specified Node.js version requirements..cloudflare/package-lock.json: Added apackage-lock.jsonfile for locking dependencies and ensuring compatibility with Node.js version>=18.18.0.Issue Template Enhancements:
.github/ISSUE_TEMPLATE/bug_report.yml: Added validation checkboxes to ensure users provide accessible project URLs for debugging..github/ISSUE_TEMPLATE/config.yml: Included contact links for support, billing issues, and community chat.