DINT-1692: Do not send shoppingCart context for product-view event (#… #111
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: storefront-merge-to-main | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "packages/storefront-events-**" | |
- ".github/workflows/storefront-merge-to-main.yml" | |
jobs: | |
storefront-merge-to-main: | |
name: storefront-merge-to-main | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.ref }} | |
- name: cache | |
uses: actions/cache@v2 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
registry-url: https://registry.npmjs.org/ | |
- name: install | |
run: yarn install --frozen-lockfile | |
- name: build | |
run: yarn build:qa --filter="@adobe/*" | |
- name: release storefront sdk | |
working-directory: ./packages/storefront-events-sdk | |
run: yarn release -- --skip.commit --skip.tag --release-as 0.0.0-${{ github.sha }} | |
- name: publish storefront sdk | |
working-directory: ./packages/storefront-events-sdk | |
run: yarn publish --access public --tag qa | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} | |
- name: release storefront collector | |
working-directory: ./packages/storefront-events-collector | |
run: yarn release -- --skip.commit --skip.tag --release-as 0.0.0-${{ github.sha }} | |
- name: publish storefront collector | |
working-directory: ./packages/storefront-events-collector | |
run: yarn publish --access public --tag qa | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} |