Skip to content

Commit dfbf3b0

Browse files
Fix release
1 parent dc8abee commit dfbf3b0

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/onRelease.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,30 @@ jobs:
2020
node-version: '24'
2121
registry-url: 'https://registry.npmjs.org'
2222
- uses: pnpm/action-setup@v4
23+
name: Install pnpm
24+
id: pnpm-install
25+
with:
26+
package_json_file: package.json
27+
run_install: false
28+
- name: Get pnpm store directory
29+
id: pnpm-cache
30+
shell: bash
31+
run: |
32+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
33+
- uses: actions/cache@v4
34+
name: Setup pnpm cache
35+
with:
36+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
37+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38+
restore-keys: |
39+
${{ runner.os }}-pnpm-store-
2340
- run: pnpm install
2441
- run: pnpm run build
2542
- run: pnpm run prepack
43+
- name: Create .npmrc
44+
run: echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
45+
env:
46+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2647
- run: npm publish --no-git-checks --access restricted
2748
- run: pnpm run postpack
2849
- run: pnpm run pack:tarballs

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ketrwu/simplelogin-cli",
33
"description": "Unofficial SimpleLogin CLI",
4-
"version": "0.0.3",
4+
"version": "0.0.4",
55
"author": "Kenneth Wußmann",
66
"bin": {
77
"sl": "./bin/run.js"

0 commit comments

Comments
 (0)