Skip to content

chore: bump version to 0.0.1-beta-16 in package.json #7

chore: bump version to 0.0.1-beta-16 in package.json

chore: bump version to 0.0.1-beta-16 in package.json #7

Workflow file for this run

name: Publish daredash package
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11.1.2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Verify publish artifact
run: npm run verify:publish
- name: Publish package to npm
run: |
VERSION="$(node -p "require('./package.json').version")"
if [[ "$VERSION" == *-* ]]; then
npm publish --tag beta
else
npm publish
fi