aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-03-30 23:09:21 -0700
committerDhravya <[email protected]>2024-03-30 23:09:21 -0700
commit14cdc486f358b7ff9dede635b3c3d5a4a81f6599 (patch)
tree60bd81f95d44b70708c3fbfae0e849c775f6c3cb /.github
parentuse bun for builds (diff)
downloadsupermemory-14cdc486f358b7ff9dede635b3c3d5a4a81f6599.tar.xz
supermemory-14cdc486f358b7ff9dede635b3c3d5a4a81f6599.zip
fix: github action
Diffstat (limited to '.github')
-rw-r--r--.github/actions/buildextension/action.yml4
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--.github/workflows/release.yml4
3 files changed, 8 insertions, 6 deletions
diff --git a/.github/actions/buildextension/action.yml b/.github/actions/buildextension/action.yml
index f95818c4..d4f7d3f1 100644
--- a/.github/actions/buildextension/action.yml
+++ b/.github/actions/buildextension/action.yml
@@ -19,11 +19,11 @@ runs:
- name: Pack extension
working-directory: apps/extension/dist
- run: zip -r ../../extension-${{ github.event.pull_request.head.sha }}.zip *
+ run: zip -r ../../extension-${{ github.sha }}.zip *
shell: bash
- name: Upload extension archive
uses: actions/upload-artifact@v3
with:
name: extension-${{ github.sha }}
- path: apps/extension/extension-${{ github.event.pull_request.head.sha }}.zip
+ path: apps/extension/extension-${{ github.sha }}.zip
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c64cdb00..f451449e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v3
-
+
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
@@ -27,4 +27,6 @@ jobs:
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
- packageManager: bun \ No newline at end of file
+ packageManager: bun
+ buildCommand: bun run build
+ buildDirectory: apps/web/.vercel/output/static \ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1d74978f..57168bb0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -23,8 +23,8 @@ jobs:
uses: ExtensionNinja/extension-publish@main
with:
action: upload
- extensionID: INSERT_YOUR_EXTENSION_ID
+ extensionID: afpgkkipfdpeaflnpoaffkcankadgjfc
clientID: ${{ secrets.GOOGLE_CLIENT_ID }}
clientSecret: ${{ secrets.GOOGLE_CLIENT_SECRET }}
clientRefreshToken: ${{ secrets.GOOGLE_REFRESH_TOKEN }}
- extensionFile: apps/extension/extension-${{ github.event.pull_request.head.sha }}.zip \ No newline at end of file
+ extensionFile: apps/extension/extension-${{ github.sha }}.zip