ubiquity / cloudflare-deploy-action

A reusable, and automatic Cloudflare deploy for instant previews across @ubiquity repositories.
0 stars 8 forks source link

Enable `bun` Support #2

Closed 0x4007 closed 1 month ago

0x4007 commented 7 months ago

https://github.com/pavlovcik/ubiquibot-kernel/actions/runs/8168486117/job/22330645154

Run ubiquity/cloudflare-deploy-action@main
Run if [ -z "" ] && [ -z "" ]; then
Run bash ../../_actions/ubiquity/cloudflare-deploy-action/main/.github/cloudflare-deploy.sh "pavlovcik/ubiquibot-kernel" "development" "static" "chore/merge-development-template"
Checking if project exists...
Project does not exist. Creating new project...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   124    0     0  100   124      0    103  0:00:01  0:00:01 --:--:--   103
100  1439    0  1315  100   124    654     61  0:00:02  0:00:02 --:--:--   [7](https://github.com/ubiquity/ubiquibot-kernel/actions/runs/8168389600/job/22330376391?pr=28#step:5:8)[16](https://github.com/ubiquity/ubiquibot-kernel/actions/runs/8168389600/job/22330376391?pr=28#step:5:18)
100  1439    0  1315  100   124    654     61  0:00:02  0:00:02 --:--:--   716
{
  "result": {
    "id": "236cd5e5-0d33-4293-8a76-edebc237da4c",
    "name": "ubiquibot-kernel",
    "subdomain": "ubiquibot-kernel.pages.dev",
    "domains": [
      "ubiquibot-kernel.pages.dev"
    ],
    "build_config": {
      "build_command": "",
      "destination_dir": "static",
      "web_analytics_tag": null,
      "web_analytics_token": null
    },
    "deployment_configs": {
      "preview": {
        "env_vars": null,
        "fail_open": true,
        "always_use_latest_compatibility_date": false,
        "compatibility_date": "2024-03-06",
        "compatibility_flags": [],
        "build_image_major_version": 2,
        "usage_model": "standard"
      },
      "production": {
        "env_vars": null,
        "fail_open": true,
        "always_use_latest_compatibility_date": false,
        "compatibility_date": "2024-03-06",
        "compatibility_flags": [],
        "build_image_major_version": 2,
        "usage_model": "standard"
      }
    },
    "latest_deployment": null,
    "canonical_deployment": null,
    "created_on": "2024-03-06T07:34:40.964593Z",
    "production_branch": "development",
    "production_script_name": "pages-worker--216[22](https://github.com/ubiquity/ubiquibot-kernel/actions/runs/8168389600/job/22330376391?pr=28#step:5:25)33-production",
    "preview_script_name": "pages-worker--2162[23](https://github.com/ubiquity/ubiquibot-kernel/actions/runs/8168389600/job/22330376391?pr=28#step:5:26)3-preview"
  },
  "success": true,
  "errors": [],
  "messages": []
}
error This project's package.json defines "packageManager": "yarn@bun@1.0.23". However the current global version of Yarn is 1.22.21.

Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
Error: Process completed with exit code 1.
ubiquity-os[bot] commented 1 month ago
# Issue was not closed as completed. Skipping.