Skip to content

chore: trigger prerelease #2

chore: trigger prerelease

chore: trigger prerelease #2

name: Continuous Delivery (Storefront)
on:
workflow_dispatch:
push:
branches:
- feat/UST-1087-nuxt-package
jobs:
publish-next:
name: Publish Next.js
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all history so multiple commits can be scanned
- name: Install dependencies
shell: bash
working-directory: packages/storefront
run: HUSKY=0 yarn --frozen-lockfile
- name: Build Next.js
run: yarn build
working-directory: packages/storefront/packages/next
- name: Publish Next.js
run: yarn publish --non-interactive
working-directory: packages/storefront/packages/next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
publish-nuxt:
name: Publish Nuxt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all history so multiple commits can be scanned
- name: Install dependencies
shell: bash
working-directory: packages/storefront
run: HUSKY=0 yarn --frozen-lockfile
- name: Build Nu xt
run: yarn build
working-directory: packages/storefront/packages/nuxt
- name: Publish Nuxt
run: yarn publish --non-interactive
working-directory: packages/storefront/packages/nuxt
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}