Skip to content

Commit

Permalink
chore: fixing CI related to semantic-release (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier authored Jul 17, 2024
1 parent ab5354c commit 7d3c546
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

jobs:
main:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/pmndrs/playwright:main
Expand All @@ -26,8 +26,18 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn install
- run: yarn test

build-and-release:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn'
- run: yarn install
- run: yarn build-storybook
# semantic-release skips not configured branches(see: release.config.js) or pull-requests
- run: yarn release
Expand Down

0 comments on commit 7d3c546

Please sign in to comment.