Test
This commit is contained in:
@@ -15,8 +15,8 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
registry-url: https://git.jvalver.de/api/packages/thilawyn/npm/
|
||||
scope: "@thilawyn"
|
||||
# registry-url: https://git.jvalver.de/api/packages/thilawyn/npm/
|
||||
# scope: "@thilawyn"
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
@@ -25,9 +25,9 @@ jobs:
|
||||
run: npm run build
|
||||
- name: Publish
|
||||
run: |
|
||||
cat .npmrc
|
||||
npm set @thilawyn:registry https://git.jvalver.de/api/packages/thilawyn/npm/
|
||||
npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken $NODE_AUTH_TOKEN
|
||||
echo $NODE_AUTH_TOKEN
|
||||
npm config set @thilawyn:registry https://git.jvalver.de/api/packages/thilawyn/npm/
|
||||
npm config set -- //git.jvalver.de/api/packages/thilawyn/npm/:_authToken "$NODE_AUTH_TOKEN"
|
||||
npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user