-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support hybrid deployments (#74)
* chore: updated deps * chore: fix merge * fixed constraints * starlight * new docs * switch to pnpm and fixed edge * support hybrid * always defined * setup pnpm * setup pnpm before node * fix linting * build before lint * cleanup
- Loading branch information
Showing
137 changed files
with
14,985 additions
and
14,381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,18 @@ | |
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"access": "public", | ||
"baseBranch": "main", | ||
"changelog": ["@changesets/changelog-github", { "repo": "lukeshay/astro-aws" }], | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ "repo": "lukeshay/astro-aws" } | ||
], | ||
"commit": false, | ||
"fixed": [], | ||
"ignore": ["@astro-aws/www", "@astro-aws/infra"], | ||
"ignore": [ | ||
"@astro-aws/www", | ||
"@astro-aws/infra", | ||
"@astro-aws/docs", | ||
"@astro-aws/examples-astro-ecommerce" | ||
], | ||
"linked": [["@astro-aws/adapter", "@astro-aws/constructs"]], | ||
"updateInternalDependencies": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
.pnp.* | ||
.yarn/* | ||
|
||
.cdk.staging | ||
.DS_Store | ||
.env | ||
.env.production | ||
.netlify | ||
.env* | ||
.turbo | ||
*.log* | ||
apps/docs/src/content/docs/references/packages/* | ||
cdk.out/ | ||
dist/ | ||
node_modules/ | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
apps/www/src/pages/docs/packages/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 🗣 Ask a Question, Discuss | ||
url: https://github.com/lukeshay/astro-aws/discussions | ||
- name: 🤗 Support the Project | ||
url: https://github.com/sponsors/astro-aws | ||
about: Support Astro AWS financially. | ||
- name: 🗣 Ask a Question, Discuss | ||
url: https://github.com/lukeshay/astro-aws/discussions | ||
- name: 🤗 Support the Project | ||
url: https://github.com/sponsors/astro-aws | ||
about: Support Astro AWS financially. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,52 @@ | ||
name: CD | ||
|
||
on: | ||
workflow_run: | ||
workflows: | ||
- CI | ||
branches: | ||
- main | ||
types: | ||
- completed | ||
workflow_run: | ||
workflows: | ||
- CI | ||
branches: | ||
- main | ||
types: | ||
- completed | ||
|
||
env: | ||
CI: true | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | ||
CI: true | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
deployments: write | ||
id-token: write | ||
contents: read | ||
deployments: write | ||
|
||
jobs: | ||
prepare-yarn-cache: | ||
name: Cache dependencies | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "18" | ||
cache: "yarn" | ||
- run: yarn install --mode=skip-build | ||
env: | ||
YARN_ENABLE_SCRIPTS: false | ||
deploy-dev: | ||
name: Deploy Dev | ||
needs: [prepare-yarn-cache] | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development | ||
environment_url: https://dev.astro-aws.org/ | ||
stack_environment: DEV | ||
secrets: inherit | ||
deploy-dev-node-16: | ||
name: Deploy Dev Node 16 | ||
needs: [prepare-yarn-cache] | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development-node-16 | ||
environment_url: https://node16.dev.astro-aws.org/ | ||
stack_environment: NODE16 | ||
secrets: inherit | ||
deploy-dev-node-18: | ||
name: Deploy Dev Node 18 | ||
needs: [prepare-yarn-cache] | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development-node-18 | ||
environment_url: https://node18.dev.astro-aws.org/ | ||
stack_environment: NODE18 | ||
secrets: inherit | ||
deploy-dev-edge: | ||
name: Deploy Dev Edge | ||
needs: [prepare-yarn-cache] | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development-edge | ||
environment_url: https://edge.dev.astro-aws.org/ | ||
stack_environment: EDGE | ||
secrets: inherit | ||
deploy-dev: | ||
name: Deploy Dev | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development | ||
environment_url: https://dev.astro-aws.org/ | ||
stack_environment: DEV | ||
secrets: inherit | ||
deploy-dev-ssr: | ||
name: Deploy Dev SSR | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development-ssr | ||
environment_url: https://ssr.dev.astro-aws.org/ | ||
stack_environment: SSR | ||
secrets: inherit | ||
deploy-dev-edge: | ||
name: Deploy Dev Edge | ||
concurrency: | ||
group: ${{ format('{0}-{1}', github.workflow, github.job) }} | ||
uses: ./.github/workflows/deploy.yml | ||
with: | ||
environment_name: development-edge | ||
environment_url: https://edge.dev.astro-aws.org/ | ||
stack_environment: EDGE | ||
secrets: inherit |
Oops, something went wrong.