Skip to content

Commit

Permalink
add buildspec federation
Browse files Browse the repository at this point in the history
  • Loading branch information
mike2872 committed Jul 24, 2024
1 parent 7e6499c commit 26c5ea3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/buildspec_federation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 0.2

env:
parameter-store:
GH_PACKAGES_TOKEN: /cicd/github/packages-token
NPM_TOKEN: /cicd/github/packages-token

phases:
install:
runtime-versions:
nodejs: 18
commands:
- npm install -g pnpm@8.15.4

pre_build:
commands:
- pnpm install

build:
commands:
- pnpm run build

post_build:
commands:
- echo "$PWD" | xargs -I {} pnpm --filter @shapegames/web-library-federation.delegate exec $SCRIPT_PATH {}

artifacts:
files:
- '**/*'
base-directory: federation-dist

0 comments on commit 26c5ea3

Please sign in to comment.