Skip to content

Merge pull request #82 from lidofinance/fix/rpc-config #79

Merge pull request #82 from lidofinance/fix/rpc-config

Merge pull request #82 from lidofinance/fix/rpc-config #79

Workflow file for this run

name: Publish to registry
on:
push:
branches:
- "main"
jobs:
release:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build packages
run: yarn build-packages
- name: Run checks
run: yarn check-packages
- name: Authenticate in npm registry
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm registry
run: yarn release