chore: BreadcrumbList
using full page URL for PDP and PLP (#2688)
#2206
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
# This Action should run on main branch and verify lint, test, and then publish the version on npm | |
name: CD | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: FastStore | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
# To use Remote Caching, uncomment the next lines and follow the steps below. | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.VTEX_GITHUB_BOT_TOKEN }} | |
fetch-depth: 2 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.15.5 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
registry-url: "https://registry.npmjs.org" | |
- name: Configure CI Git User | |
run: | | |
git config user.name vtexgithubbot | |
git config user.email vtexgithubbot@github.com | |
- name: Install dependencies | |
run: pnpm i | |
- name: Build | |
run: pnpm build | |
- name: Size | |
run: pnpm size | |
- name: Lint | |
run: pnpm lint | |
- name: Test | |
run: pnpm test | |
- name: Publish | |
run: pnpm release | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- name: Publish to Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
workingDir: packages/storybook | |
buildScriptName: build | |
onlyChanged: true | |
exitOnceUploaded: true | |
exitZeroOnChanges: true |