Skip to content

fix: add proration to transaction preview line items (#89) #12

fix: add proration to transaction preview line items (#89)

fix: add proration to transaction preview line items (#89) #12

Workflow file for this run

name: Publish to latest Tag
on:
push:
branches:
- main
- v1.x
jobs:
run-publish:
name: Run publish
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
steps:
- name: Check out git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "yarn"
registry-url: 'https://registry.npmjs.org'
- name: Install yarn dependencies
run: yarn install
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Publish
run: |
VERSION=$(node -p "require('./package.json').version" )
if [[ "$VERSION" =~ (rc) ]]; then
yarn publish:rc
else
yarn publish:latest
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}