update versions to 1.10.0 (#162) #35
Workflow file for this run
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: publish-latest | |
on: | |
push: | |
# should check on for release here instead of branch | |
# we only want to publish the old packages on a v1.X.X tag | |
tags: | |
- "v1.*" | |
jobs: | |
publish-latest: | |
name: publish-latest | |
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:prod --filter="@adobe/magento*" | |
- name: publish storefront sdk | |
working-directory: ./packages/storefront-events-sdk | |
run: yarn publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} | |
- name: publish storefront collector | |
working-directory: ./packages/storefront-events-collector | |
run: yarn publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} |