Skip to content

Commit e298dbb

Browse files
committed
chore: reordered if statement
1 parent 81049e1 commit e298dbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ jobs:
6666
path: ~/.npm
6767
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
6868
- run: npm install --prefer-offline
69-
- run: npm publish --tag latest-v3.x
70-
if: ${{ !contains(github.ref_name, '-test.') }}
69+
- if: ${{ !contains(github.ref_name, '-test.') }}
70+
run: npm publish --tag latest-v3.x
7171
env:
7272
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7373
# If "test" prerelease is present, pretend to publish package.
74-
- run: npm publish --tag latest-v3.x --dry-run
75-
if: ${{ contains(github.ref_name, '-test.') }}
74+
- if: ${{ contains(github.ref_name, '-test.') }}
75+
run: npm publish --tag latest-v3.x --dry-run
7676
env:
7777
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)