ci: fix consumer verification path
This commit is contained in:
parent
daabd37c78
commit
e3b20446ec
@ -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"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bytelyst/errors",
|
||||
"version": "0.1.9",
|
||||
"version": "0.1.10",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user