Skip to content

Commit

Permalink
add delegated module action and remove old implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
mike2872 committed Apr 22, 2024
1 parent 340fc3d commit 1edcc56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 39 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/library-changesets-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@ on:
required: true
gh_token:
required: true
federation_access_key_id:
required: false
federation_secret_key:
required: false
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
GH_PACKAGES_TOKEN: ${{ secrets.gh_packages_token }}
NPM_TOKEN: ${{ secrets.gh_packages_token }}
AWS_ACCESS_KEY_ID: ${{ secrets.federation_access_key_id }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.federation_secret_key }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
35 changes: 2 additions & 33 deletions .github/workflows/library-lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
inputs:
node-version:
type: string
default: '18'
default: "18"
jobs:
build_packages:
timeout-minutes: 10
Expand Down Expand Up @@ -40,40 +40,9 @@ jobs:

- name: Install dependencies
run: pnpm install

- name: Build package build
run: pnpm run build
build_federation:
timeout-minutes: 10
name: Build federation package
runs-on: "ubuntu-latest"
env:
TURBO_TOKEN: ${{ secrets.turbo_token }}
TURBO_TEAM: ${{ secrets.turbo_team }}
GH_PACKAGES_TOKEN: ${{ secrets.gh_packages_token }}
NPM_TOKEN: ${{ secrets.gh_packages_token }}
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build federation
run: pnpm run build-federation
test:
timeout-minutes: 10
name: Lint and Test
Expand Down

0 comments on commit 1edcc56

Please sign in to comment.