Skip to content

Add ETHFI Uni Base CLM #1189

Add ETHFI Uni Base CLM

Add ETHFI Uni Base CLM #1189

Workflow file for this run

name: Push actions
on:
push:
branches:
- master
paths:
- packages/address-book/**
- '!packages/address-book/package.json'
- '!packages/address-book/CHANGELOG.md'
- '!packages/address-book/README.md'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
defaults:
run:
working-directory: packages/address-book
steps:
# get repo code
- uses: actions/checkout@v2
# install node
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# install packages
- run: yarn --frozen-lockfile
# run checksum test
- run: yarn checksum
# transpile from Typescript to Javascript
- run: yarn compile
# bump package version and commit. Note that this won't create an infinite github action push loop, as we have added package.json to paths-ignore.
- name: 'Automated Version Bump'
uses: 'phips28/[email protected]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGEJSON_DIR: 'packages/address-book'
# publish package
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}