Skip to content

1.0.1

1.0.1 #4

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
permissions:
id-token: write # Required for OIDC authentication
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build hyperglobe package
run: pnpm --filter @hyperglobe/core build
# npm 11.5.1+ 업그레이드 (Trusted Publishing 필수)
- name: Update npm for Trusted Publishing
run: npm install -g npm@latest
- name: Publish to npm
working-directory: packages/hyperglobe/publish/.npm
run: npm publish --access public