Skip to content

Commit 28d32b5

Browse files
Fix verify-gpr global permissions and EACCES prefix, bump to 1.0.3
1 parent b6d4d8f commit 28d32b5

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/github-packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
name: Verify Published Package
7373
runs-on: ubuntu-latest
7474
needs: [publish-gpr]
75+
permissions:
76+
contents: read
77+
packages: read
7578

7679
steps:
7780
- name: Checkout
@@ -95,9 +98,11 @@ jobs:
9598

9699
- name: Install published package
97100
run: |
101+
mkdir -p ~/.npm-global
102+
npm config set prefix '~/.npm-global'
103+
echo "$HOME/.npm-global/bin" >> $GITHUB_PATH
98104
sleep 15
99105
npm install -g @tech4file/cloudsync-cli
100-
cloudsync --version
101106
env:
102107
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103108

cloudsync-cli/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cloudsync-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloudsync-cli",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "An open-source, Git-like version control CLI for secure cloud-to-local synchronization via encrypted SSH tunnels",
55
"type": "module",
66
"main": "./bin/cloudsync.js",

0 commit comments

Comments
 (0)