feat(metrics): performance #295
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 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 |