We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 894fab1 commit e72f841Copy full SHA for e72f841
1 file changed
.github/workflows/main.yml
@@ -72,14 +72,15 @@ jobs:
72
git config --global user.email "github-actions[bot]@users.noreply.github.com"
73
74
# Actual release on push (works for forks too)
75
- - name: Run Nx release (Push)
+ - name: Run Nx release version and publish (Push)
76
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
77
env:
78
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79
run: |
80
- echo "Running Nx release..."
81
- npx nx release --verbose
82
- npx nx release
+ echo "Running Nx release version..."
+ npx nx release version --first-release --verbose
+ echo "Publishing packages to npm..."
83
+ npx nx release publish --verbose
84
continue-on-error: false
85
86
github-action-show-version:
0 commit comments