Skip to content

chore(gear-api): update dependencies (#1736) #1

chore(gear-api): update dependencies (#1736)

chore(gear-api): update dependencies (#1736) #1

Workflow file for this run

name: 'Release @gear-js/api'
on:
push:
branches: [main]
paths:
- apis/gear/package.json
workflow_dispatch:
env:
BINARYEN_VERSION: version_111
jobs:
publish-to-npm:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use node 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Authenticate with NPM
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: npx lerna publish from-package --yes