Skip to content

Commit c4e81d0

Browse files
committed
fix
1 parent 85a509b commit c4e81d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
node-version: "20.x"
2727
registry-url: "https://registry.npmjs.org"
2828
- run: |
29-
apt install jq curl -y
30-
pv=$(jq -r .version package.json)
31-
rv=$(curl -s https://registry.npmjs.org/$(jq -r .name package.json) | jq -r '."dist-tags".latest')
32-
[ "$pv" = "$rv" ] && exit 0
33-
npm ci
34-
npm run build
29+
apt install jq curl -y
30+
pv=$(jq -r .version package.json)
31+
rv=$(curl -s https://registry.npmjs.org/$(jq -r .name package.json) | jq -r '."dist-tags".latest')
32+
[ "$pv" = "$rv" ] && exit 0
33+
npm ci
34+
npm run build
3535
- run: npm publish --provenance --access public
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)