Skip to content

Commit

Permalink
will components build this time
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokamin committed Feb 20, 2024
1 parent 9b23e41 commit 492c56e
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/components-test-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
runs-on: 'ubuntu-22.04'
steps:
- uses: 'actions/checkout@v3'
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: 'actions/setup-node@v3'
with:
node-version: '18.19.0'
Expand All @@ -63,9 +66,13 @@ jobs:
name: 'build components artifact'
runs-on: 'ubuntu-22.04'
if: github.event_name != 'pull_request'
needs: ['js-unit-test']
# TODO IMMEDIATELY: revert change below. doing this so i can test component builds without tests passing
#needs: ['js-unit-test']
steps:
- uses: 'actions/checkout@v3'
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: 'actions/setup-node@v3'
with:
node-version: '18.19.0'
Expand Down Expand Up @@ -107,7 +114,8 @@ jobs:
name: 'deploy components storybook artifact to S3'
runs-on: 'ubuntu-22.04'
needs:
['js-unit-test', 'build-components-storybook', 'determine-build-type']
# TODO IMMEDIATELY: revert change below. doing this so i can test component builds without tests passing
['build-components-storybook', 'determine-build-type']
if: needs.determine-build-type.outputs.type != 'none'
steps:
- uses: 'actions/checkout@v3'
Expand All @@ -117,6 +125,9 @@ jobs:
run: |
git fetch -f origin ${{ github.ref }}:${{ github.ref }}
git checkout ${{ github.ref }}
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: 'actions/setup-node@v3'
with:
node-version: '18.19.0'
Expand Down Expand Up @@ -154,6 +165,9 @@ jobs:
run: |
git fetch -f origin ${{ github.ref }}:${{ github.ref }}
git checkout ${{ github.ref }}
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: 'actions/setup-node@v3'
with:
node-version: '18.19.0'
Expand Down

0 comments on commit 492c56e

Please sign in to comment.