Skip to content

Commit 2c5e7a4

Browse files
dines-rlclaude
andauthored
fix: workflow issues for npm stable tag and docs tar (#721)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1eeb486 commit 2c5e7a4

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: tar the existing docs
2323
run: |
2424
mkdir -p ./docs
25-
tar -cvf documentation.tar --no-dereference ./docs
25+
tar -cvf documentation.tar ./docs
2626
2727
- name: create a document artifact
2828
uses: runloopai/upload-artifact@main
@@ -62,7 +62,7 @@ jobs:
6262
run: yarn docs #set up 'docs' build script in your package.json
6363

6464
- name: tar the new docs
65-
run: tar -cvf newdocumentation.tar --no-dereference ./docs
65+
run: tar -cvf newdocumentation.tar ./docs
6666

6767
- name: create a new document artifact
6868
uses: runloopai/upload-artifact@main

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
3535
- name: Add stable tag to NPM release
3636
run: |
37+
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
3738
cd dist
3839
PACKAGE_NAME="$(jq -r -e '.name' ./package.json)"
3940
VERSION="$(jq -r -e '.version' ./package.json)"
@@ -45,3 +46,5 @@ jobs:
4546
else
4647
echo "Skipping stable tag for prerelease version $VERSION"
4748
fi
49+
env:
50+
NPM_TOKEN: ${{ secrets.RUNLOOP_NPM_TOKEN || secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)