Skip to content

Commit

Permalink
chore: 워크 플로우 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed May 18, 2024
1 parent 8c096e3 commit 8dfa384
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 33 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/a11y-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ on:
jobs:
setup-node-pnpm:
uses: GDSC-Hongik/wow-design-system/.github/workflows/setup-node-pnpm.yml@feature/project-setting

common-workflow:
uses: GDSC-Hongik/wow-design-system/.github/workflows/common-workflow.yml@feature/project-setting
accessibility:
runs-on: ubuntu-latest
needs: setup-node-pnpm
needs: [setup-node-pnpm, common-workflow]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -25,17 +26,10 @@ jobs:
version: 8
run_install: false

- name: Install Dependency
run: pnpm install --no-frozen-lockfile
working-directory: packages/wow-ui

- name: Install Playwright
run: pnpm dlx playwright install --with-deps
working-directory: packages/wow-ui

- name: Build Packages
run: pnpm build

- name: Start Storybook
run: |
nohup pnpm storybook &
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/deploy-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,22 @@ on:
jobs:
setup-node-pnpm:
uses: GDSC-Hongik/wow-design-system/.github/workflows/setup-node-pnpm.yml@feature/project-setting

common-workflow:
uses: GDSC-Hongik/wow-design-system/.github/workflows/common-workflow.yml@feature/project-setting
chromatic-deployment:
runs-on: ubuntu-latest
needs: setup-node-pnpm
steps:
needs: [setup-node-pnpm, common-workflow]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install Pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- name: Install Dependency
run: pnpm install --no-frozen-lockfile
working-directory: packages/wow-ui

- name: Build packages
run: pnpm build

- name: Publish Chromatic
id: chromatic
uses: chromaui/action@v1
Expand Down
17 changes: 4 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,18 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
setup-node-pnpm:
uses: GDSC-Hongik/wow-design-system/.github/workflows/setup-node-pnpm.yml@feature/project-setting
common-workflow:
uses: GDSC-Hongik/wow-design-system/.github/workflows/common-workflow.yml@feature/project-setting
release:
name: Release
runs-on: ubuntu-latest
needs: setup-node-pnpm
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

needs: [setup-node-pnpm, common-workflow]
steps:
- name: Install Pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- name: Install Dependency
run: pnpm install --no-frozen-lockfile
working-directory: packages/wow-ui

- name: Build packages
run: pnpm build

- name: Create .npmrc file
run: |
Expand Down

0 comments on commit 8dfa384

Please sign in to comment.