Skip to content

Commit a484371

Browse files
committed
ci: adding --first-release tag
1 parent 62ad341 commit a484371

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
continue-on-error: false
6161

6262
- name: Run Nx release dry-run
63-
run: npx nx release --dry-run --verbose
63+
run: npx nx release --first-release --dry-run --verbose
6464

6565
# Job that runs after merge (on push to master)
6666
post-merge:
@@ -72,8 +72,8 @@ jobs:
7272
uses: actions/checkout@v4
7373
- name: 🚀 Run Nx Release
7474
run: |
75-
npx nx release --skip-publish --verbose
76-
npx nx release publish --skip-existing --verbose
75+
npx nx release --first-release --skip-publish --verbose
76+
npx nx release --first-release publish --skip-existing --verbose
7777
env:
7878
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"verbose": true,
3333
"testPathIgnorePatterns": [
3434
"/node_modules/",
35-
"packages/suir-component-mapper/"
35+
"packages/suir-component-mapper/",
36+
"/.nx/"
3637
],
3738
"setupFilesAfterEnv": [
3839
"<rootDir>/config/jest.setup.js"
@@ -53,7 +54,8 @@
5354
"\\.(css|scss)$": "identity-obj-proxy"
5455
},
5556
"modulePathIgnorePatterns": [
56-
"<rootDir>/templates/"
57+
"<rootDir>/templates/",
58+
"<rootDir>/.nx/"
5759
],
5860
"globalSetup": "<rootDir>/config/globalSetup.js"
5961
},

0 commit comments

Comments
 (0)