Skip to content

Commit

Permalink
chore: branch 변경에 따른 yml 파일 수정 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Todari authored Jul 30, 2024
1 parent 60ea18b commit 5229370
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/design-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- fe-dev
paths:
- 'HDesign/**'
- 'HDesign/**'

jobs:
storybook:
Expand All @@ -28,12 +28,12 @@ jobs:
id: cache
uses: actions/cache@v3
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-storybook

- name: Set up Node.js
uses: actions/setup-node@v2
with:
uses: actions/setup-node@v2
with:
node-version: '20.15.1'

- name: depedency install
Expand All @@ -44,15 +44,11 @@ jobs:
working-directory: ./HDesign
run: npm run lint

- name: run storybook build
working-directory: ./HDesign
run: npm run build-storybook

- name: publish to chromatic
working-directory: ./HDesign
id: chromatic
uses: chromaui/action@v1
with:
workingDirectory: ./HDesign
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -61,4 +57,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: '🚀storybook: ${{ steps.chromatic.outputs.storybookUrl }}'
message: "🚀storybook: ${{ steps.chromatic.outputs.storybookUrl }}"
4 changes: 2 additions & 2 deletions .github/workflows/frontend-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: frontend-pull-request
on:
pull_request:
types: [opened, synchronize]
branches: [main, develop]
branches: [main, fe-dev]
paths:
- 'client/**'

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-latest log

defaults:
run:
Expand Down

0 comments on commit 5229370

Please sign in to comment.