We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a509b commit c4e81d0Copy full SHA for c4e81d0
.github/workflows/publish.yml
@@ -26,12 +26,12 @@ jobs:
26
node-version: "20.x"
27
registry-url: "https://registry.npmjs.org"
28
- 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
+ apt install jq curl -y
+ pv=$(jq -r .version package.json)
+ rv=$(curl -s https://registry.npmjs.org/$(jq -r .name package.json) | jq -r '."dist-tags".latest')
+ [ "$pv" = "$rv" ] && exit 0
+ npm ci
+ npm run build
35
- run: npm publish --provenance --access public
36
env:
37
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments