File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1- name : Publish npm Release
1+ name : Release
22
33on :
4- workflow_dispatch :
54 push :
65 tags :
76 - ' v*.*.*'
@@ -29,21 +28,14 @@ jobs:
2928 - name : Install dependencies
3029 run : npm ci
3130
32- - name : Run tests
31+ - name : Run all checks and build
3332 run : npm run all
3433
3534 - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
3635 run : npm audit signatures
3736
3837 - name : Publish to npm
39- run : |
40- if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
41- echo "🧪 Test mode: Dry run npm publish"
42- npm publish --dry-run --provenance
43- else
44- echo "🚀 Production: Publishing to npm"
45- npm publish --provenance
46- fi
38+ run : npm publish --provenance
4739
4840 - name : Create GitHub Release
4941 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments