Skip to content

Commit

Permalink
ci: comments placed
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnesmit committed Apr 2, 2024
1 parent 429b5ab commit 8d9202f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ jobs:
- name: Run tests
run: npm run test:ci

- name: Build storybook
# Check storybook build only for feature branches
if: github.ref != 'refs/heads/develop' && github.ref != 'refs/heads/main'
run: npm run build-storybook

- name: Build package
run: npm run build

# Deploy and release only for develop and main branches
- name: Archive build artifacts
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 8d9202f

Please sign in to comment.