Skip to content

Merge pull request #255 from Pinelab-studio/feat/stripe-subscription-… #32

Merge pull request #255 from Pinelab-studio/feat/stripe-subscription-…

Merge pull request #255 from Pinelab-studio/feat/stripe-subscription-… #32

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 token
run: npm set //registry.npmjs.org/:_authToken ${{secrets.NPM_PUBLISH_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