Compare commits

...

2 Commits

Author SHA1 Message Date
Julien Valverdé
ddbcfcdc1d Attempt at fixing NPM login
Some checks failed
Lint / lint (push) Successful in 11s
Publish / lint (push) Failing after 12s
2024-06-18 04:30:29 +02:00
Julien Valverdé
07ff9a9da2 Attempt at fixing NPM login 2024-06-18 04:30:10 +02:00
2 changed files with 5 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: "20" node-version: "20"
registry-url: https://git.jvalver.de/api/packages/thilawyn/npm registry-url: https://git.jvalver.de/api/packages/thilawyn/npm/
scope: "@thilawyn" scope: "@thilawyn"
- name: Clone repo - name: Clone repo
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -24,8 +24,6 @@ jobs:
- name: Build - name: Build
run: npm run build run: npm run build
- name: Publish - name: Publish
run: | run: npm publish
npm adduser
npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -2,6 +2,9 @@
"name": "@thilawyn/thilalib", "name": "@thilawyn/thilalib",
"version": "0.1.0", "version": "0.1.0",
"type": "module", "type": "module",
"publishConfig": {
"registry": "https://git.jvalver.de/api/packages/thilawyn/npm/"
},
"files": [ "files": [
"./dist" "./dist"
], ],