Skip to content

feat(metrics): version #292

feat(metrics): version

feat(metrics): version #292

Workflow file for this run

name: Publish packages
on:
push:
branches:
- main
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Set NPM registry auth token
run: npm set //registry.npmjs.org/:_authToken ${{secrets.NPM_PUBLISH_TOKEN}}
- name: Set Vendure Hub registry auth token
run: npm set //registry.next.vendure.io/:_authToken ${{secrets.VENDURE_HUB_NPM_TOKEN}}
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Stash changes that build might have caused by build
run: git stash
- name: Publish
run: yarn lerna publish from-package --yes