fix: add npm auth token for integration test publish

This commit is contained in:
2026-03-15 19:49:54 +00:00
parent ad890be56a
commit 5b4cba1392

View File

@@ -136,6 +136,7 @@ jobs:
# -- npm publish/install -- # -- npm publish/install --
- name: npm — publish and install package - name: npm — publish and install package
run: | run: |
echo "//localhost:4000/npm/:_authToken=integration-test" > ~/.npmrc
mkdir -p /tmp/test-pkg && cd /tmp/test-pkg mkdir -p /tmp/test-pkg && cd /tmp/test-pkg
echo '{"name":"nora-integration-test","version":"1.0.0","description":"test"}' > package.json echo '{"name":"nora-integration-test","version":"1.0.0","description":"test"}' > package.json
echo "module.exports = true;" > index.js echo "module.exports = true;" > index.js