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 c382ea5 commit 2d9ba03Copy full SHA for 2d9ba03
.github/workflows/main.yml
@@ -12,7 +12,7 @@ defaults:
12
13
jobs:
14
ReleaseWeb:
15
- name: Release dev version to NPM
+ name: Release to NPM
16
runs-on: ubuntu-latest
17
environment: Publishing
18
steps:
@@ -39,7 +39,7 @@ jobs:
39
run: npm run build
40
41
- name: Publish dev NPM package
42
- if: ${{ github.event_name != 'release' && github.ref_name != github.event.repository.default_branch }}
+ if: ${{ github.event_name != 'release' && github.ref == 'refs/heads/main' }}
43
run: |
44
cd packages/react-scripts
45
npm version prerelease --preid=$BUILD_VERSION-dev --no-git-tag-version
0 commit comments