chore(deps): update dependency storybook to v8 #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CICD Workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [20] | |
pnpm-version: [8] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: ./.github/actions/setup-node | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup pnpm and Cache | |
uses: ./.github/actions/setup-pnpm | |
with: | |
pnpm-version: ${{ matrix.pnpm-version }} | |
- name: Install Playwright and Dependencies | |
uses: ./.github/actions/install-deps | |
- name: Run NX Affected Commands | |
uses: ./.github/actions/run-affected | |
- name: Publish Packages | |
if: github.event_name == 'push' | |
uses: ./.github/actions/publish | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
npm-token: ${{ secrets.NPM_TOKEN }} |