ci: fix consumer verification path
All checks were successful
CI — Common Platform / Build, Test & Typecheck (push) Successful in 3m53s
Publish @bytelyst/* packages / publish (push) Successful in 4m14s

This commit is contained in:
root 2026-05-25 06:27:55 +00:00
parent daabd37c78
commit e3b20446ec
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,6 @@ on:
workflow_dispatch:
push:
branches: [main]
tags: ['v*']
concurrency:
group: publish-${{ github.ref }}
@ -106,8 +105,9 @@ jobs:
(cd "$dir" && pnpm publish --no-git-checks --registry https://gitea.bytelyst.com/api/packages/bytelyst/npm/)
rm -f "$dir/.npmrc"
npm view "$name@$version" version dist.shasum dist.tarball --userconfig /tmp/publish.npmrc --registry https://gitea.bytelyst.com/api/packages/bytelyst/npm/
consumer_dir="/tmp/consumer-${name//@/}-${version}"
consumer_dir="${consumer_dir//\//-}"
consumer_name="consumer-${name//@/}-${version}"
consumer_name="${consumer_name//\//-}"
consumer_dir="/tmp/$consumer_name"
rm -rf "$consumer_dir"
mkdir -p "$consumer_dir"
cp /tmp/publish.npmrc "$consumer_dir/.npmrc"

View File

@ -1,6 +1,6 @@
{
"name": "@bytelyst/errors",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",
"exports": {
".": {