File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - run : npm run build
2424 - name : Publish all packages to npm
2525 run : |
26+ FAILED=""
2627 for pkg in alpinejs csp intersect collapse persist resize anchor morph focus sort mask ui docs; do
2728 echo "Publishing $pkg..."
2829 cd packages/$pkg
29- npm publish --access public --provenance
30+ if ! npm publish --access public --provenance 2>&1; then
31+ echo "::warning::Failed to publish $pkg"
32+ FAILED="$FAILED $pkg"
33+ fi
3034 cd ../..
3135 done
36+ if [ -n "$FAILED" ]; then
37+ echo "::error::Failed to publish:$FAILED"
38+ exit 1
39+ fi
Original file line number Diff line number Diff line change 22 "name" : " @alpinejs/csp" ,
33 "version" : " 3.15.11" ,
44 "description" : " A CSP-friendly build of AlpineJS" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " https://github.com/alpinejs/alpine.git" ,
8+ "directory" : " packages/csp"
9+ },
510 "author" : " Caleb Porzio" ,
611 "license" : " MIT" ,
712 "main" : " dist/module.cjs.js" ,
Original file line number Diff line number Diff line change 22 "name" : " @alpinejs/docs" ,
33 "version" : " 3.15.11" ,
44 "description" : " The documentation for Alpine" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " https://github.com/alpinejs/alpine.git" ,
8+ "directory" : " packages/docs"
9+ },
510 "author" : " Caleb Porzio" ,
611 "license" : " MIT"
712}
You can’t perform that action at this time.
0 commit comments