Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(ci): add in bunfig.toml creation to setup-reqs-web action (#361)
Will Hutchinsondcd8e5195c43
diff --git a/.github/actions/setup-reqs-web/action.yml b/.github/actions/setup-reqs-web/action.ymlindex 542621b97b..6c34fa2043 100644--- a/.github/actions/setup-reqs-web/action.yml+++ b/.github/actions/setup-reqs-web/action.yml@@ -5,6 +5,10 @@ inputs:description: Install Playwright and cacherequired: falsedefault: ''+ npm-rc-token:+ description: NPM RC Token+ required: false+ default: ''runs:using: composite@@ -12,6 +16,18 @@ runs:- name: Setup Bunuses: oven-sh/setup-bun@v2+ - name: Setup bunfig.toml+ working-directory: js/app+ shell: bash+ run: |+ touch bunfig.toml+ echo "[run]" >> bunfig.toml+ echo "bun = true" >> bunfig.toml+ echo "[install]" >> bunfig.toml+ echo "linker = \"hoisted\"" >> bunfig.toml+ echo "[install.scopes]" >> bunfig.toml+ echo "macro-inc = { token = \"${{ inputs.npm-rc-token }}\", url = \"https://npm.pkg.github.com\" }" >> bunfig.toml+- name: Install Dependenciesshell: bashworking-directory: js/appdiff --git a/.github/workflows/deploy-web-app.yml b/.github/workflows/deploy-web-app.ymlindex 3efe1ade33..92ab237f59 100644--- a/.github/workflows/deploy-web-app.yml+++ b/.github/workflows/deploy-web-app.yml@@ -57,6 +57,8 @@ jobs:ref: ${{ github.ref_name }}- name: Setupuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Buildworking-directory: js/apprun: bun run build:${{ inputs.environment }}diff --git a/.github/workflows/deploy-web-services.yml b/.github/workflows/deploy-web-services.ymlindex 6fe86191d0..ae7b629d14 100644--- a/.github/workflows/deploy-web-services.yml+++ b/.github/workflows/deploy-web-services.yml@@ -51,6 +51,8 @@ jobs:aws-region: us-east-1- name: Setupuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Install infra dependenciesrun: |cd infradiff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.ymlindex cbe87cd392..9205f362af 100644--- a/.github/workflows/release-production.yml+++ b/.github/workflows/release-production.yml@@ -35,6 +35,8 @@ jobs:uses: actions/checkout@v5- name: Setup Prereqsuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Build for Productionworking-directory: js/apprun: bun run build:prod@@ -60,6 +62,8 @@ jobs:uses: actions/checkout@v5- name: Setup Prereqsuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Download Build Artifactuses: actions/download-artifact@v5with:diff --git a/.github/workflows/web-app-check-main.yml b/.github/workflows/web-app-check-main.ymlindex 0b24a87a5e..e9adda7cf1 100644--- a/.github/workflows/web-app-check-main.yml+++ b/.github/workflows/web-app-check-main.yml@@ -22,7 +22,6 @@ jobs:should_run:- 'js/app/package.json'- 'js/app/bun.lock'- - 'js/app/bunfig.toml'- 'js/app/packages/**'- 'js/app/src/**'- '.github/actions/setup-reqs-web/**'@@ -38,6 +37,8 @@ jobs:uses: actions/checkout@v4- name: Setup Prereqsuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Generate API Typesworking-directory: js/apprun: bun run gen-api@@ -76,6 +77,8 @@ jobs:fetch-depth: 0- name: Setup Prereqsuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Check Tailwind Classesworking-directory: js/apprun: bun run check-tailwind@@ -90,6 +93,8 @@ jobs:uses: actions/checkout@v4- name: Setupuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Testworking-directory: js/apprun: bunx vitest@@ -120,6 +125,8 @@ jobs:uses: actions/checkout@v4- name: Setupuses: ./.github/actions/setup-reqs-web+ with:+ npm-rc-token: ${{ secrets.NPMRC_GH_TOKEN }}- name: Buildworking-directory: js/apprun: bun run builddiff --git a/js/app/.gitignore b/js/app/.gitignoreindex 9eadbcb404..86119c0054 100644--- a/js/app/.gitignore+++ b/js/app/.gitignore@@ -81,3 +81,4 @@ CLAUDE.md.envrcstorybook-static+bunfig.toml