-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,22 +18,30 @@ jobs: | |
with: | ||
node-version: "*" # Use the LTS Node.js version | ||
cache: "npm" | ||
registry-url: 'https://registry.npmjs.org' | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/setup@v0 | ||
uses: gittools/actions/gitversion/setup@v3.0.0 | ||
with: | ||
versionSpec: '5.x' | ||
versionSpec: "5.x" | ||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/execute@v0 | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
configFilePath: "GitVersion-look-and-feel.yml" | ||
- run: npm run package:check | ||
- run: npm ci | ||
- run: npm run build:look-and-feel | ||
- run: npm version "${{ steps.gitversion.outputs.fullSemVer }}" -w look-and-feel/css -w look-and-feel/react | ||
- name: Set to react package the @axa-fr/design-system-look-and-feel-css dependency version | ||
- run: | ||
npm version "${{ steps.gitversion.outputs.fullSemVer }}" -w | ||
look-and-feel/css -w look-and-feel/react | ||
- name: | ||
Set to react package the @axa-fr/design-system-look-and-feel-css | ||
dependency version | ||
run: | | ||
cd look-and-feel/react | ||
jq '.peerDependencies["@axa-fr/design-system-look-and-feel-css"] = "${{ steps.gitversion.outputs.fullSemVer }}"' package.json > temp.json && mv temp.json package.json | ||
- run: npm publish -w look-and-feel/css -w look-and-feel/react --access public | ||
- run: | ||
npm publish -w look-and-feel/css -w look-and-feel/react --access | ||
public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
mode: ContinuousDeployment | ||
tag-prefix: 'look-and-feel/' | ||
next-version: 0.3.0 | ||
commit-message-incrementing: Disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
mode: ContinuousDelivery | ||
|
||
mode: ContinuousDeployment | ||
tag-prefix: 'slash/' | ||
commit-message-incrementing: Disabled | ||
next-version: 1.0.0 | ||
commit-message-incrementing: Disabled |