Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasey committed Feb 19, 2025
1 parent e1758aa commit 7fb6309
Show file tree
Hide file tree
Showing 52 changed files with 107 additions and 169 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/destroy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
clean-up:
if: |
(github.event.action == 'unlabeled' && startsWith(github.event.label.name, ':rocket: deploy')) ||
(github.event.action == 'closed' && (contains(github.event.pull_request.labels.*.name, ':rocket: deploy') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-sunnyawards') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-farcaster') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-cron') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-waitlist') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-websockets')))
(github.event.action == 'closed' && (contains(github.event.pull_request.labels.*.name, ':rocket: deploy') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-sunnyawards') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-farcaster') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-cron') || contains(github.event.pull_request.labels.*.name, ':rocket: deploy-websockets')))
runs-on: ubuntu-latest
steps:
- name: Configure AWS credentials
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
stage_name_suffix="${{ github.event.number }}-${{ env.GITHUB_HEAD_REF_SLUG }}"
for app in cron farcaster sunnyawards waitlist webapp websockets; do
for app in cron farcaster sunnyawards webapp websockets; do
# sanitize and trim string so that it can be used as a valid subdomain. Includes removing hyphens at the start and end of the name
stage_name=`echo "stg-${app}-${stage_name_suffix}" | sed -E -e 's/[^a-zA-Z0-9-]+//g' -e 's/(.{40}).*/\1/' -e 's/^-/0/' -e 's/-$/0/'`
Expand Down Expand Up @@ -75,12 +75,6 @@ jobs:
token: ${{ steps.get-token.outputs.token }}
environment: ${{ steps.destroy_aws_stack.outputs.sunnyawards_env }}

- name: Delete Waitlist Github deployment
uses: strumwolf/delete-deployment-environment@v3
with:
token: ${{ steps.get-token.outputs.token }}
environment: ${{ steps.destroy_aws_stack.outputs.waitlist_env }}

- name: Delete Webapp Github deployment
uses: strumwolf/delete-deployment-environment@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion lib/credentials/mapProjectToGitcoin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ConnectProjectDetails } from '../../packages/connect-shared/lib/projects/findProject';
import type { ConnectProjectDetails } from '../../packages/connect-shared/src/lib/projects/findProject';

const contributionTypes = {
CONTRACT_ADDRESS: 'Contract address',
Expand Down
67 changes: 1 addition & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 6 additions & 10 deletions packages/connect-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{
"name": "@packages/connect-shared",
"version": "1.0.0",
"version": "0.0.0",
"description": "",
"main": "index.js",
"directories": {
"lib": "lib"
},
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"exports": {
"./*": "./src/*.ts"
},
"dependencies": {
"@mui/material-nextjs": "^6.1.0",
"framer-motion": "^11.3.17",
"next-safe-action": "~7.4.2"
"@packages/utils": "^1.0.0"
}
}
File renamed without changes.
9 changes: 9 additions & 0 deletions packages/connect-shared/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
// composite is useful for referenced packages. see https://www.typescriptlang.org/docs/handbook/project-references.html#composite
"composite": true
}
}
Loading

0 comments on commit 7fb6309

Please sign in to comment.