Skip to content

feat: restart @ice/spec and update version to v2 #1

feat: restart @ice/spec and update version to v2

feat: restart @ice/spec and update version to v2 #1

name: Beta Publisher
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag'
required: true
options:
- rc
- beta
- alpha
pull_request:
jobs:
build-and-publish:
if: false # Temp disable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
registry-url: https://registry.npmjs.org/
- run: |
pnpm i
pnpm run build
pnpm publish --tag ${{inputs.tag}}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
REGISTRY: https://registry.npmjs.org