File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments