Skip to content

Ib improvements (#4) #3

Ib improvements (#4)

Ib improvements (#4) #3

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
paths:
- 'package.json'
env:
NODE_VERSION: 20
PNPM_VERSION: 9
jobs:
publish-js:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Publish
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm publish --access public