Skip to content

Commit 2c4d314

Browse files
authoredMar 21, 2025··
Merge branch 'master' into feature/dolly-soek-med-dollysearchservice
2 parents 43a3648 + 91692de commit 2c4d314

File tree

622 files changed

+8971
-12120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

622 files changed

+8971
-12120
lines changed
 

‎.github/workflows/all.workflows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
inputs:
44
workflow:
55
type: choice
6-
description: "Backend or frontend."
6+
description: "Backend or frontend. These use slightly different workflows."
77
options:
88
- "backend"
99
- "frontend"
@@ -35,7 +35,7 @@ on:
3535
sonar-enabled:
3636
type: boolean
3737
description: "Run Sonar scan?"
38-
default: true
38+
default: false
3939

4040
permissions:
4141
contents: read

‎.github/workflows/common.workflow.libs.frontend.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,17 @@ jobs:
4949
if: |
5050
(github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, '#publish-libs')) &&
5151
(!contains(github.event.head_commit.message, '[skip ci]'))
52-
run: npm version patch && npm publish
52+
run: |
53+
echo Release started by $GITHUB_ACTOR
54+
git remote set-url origin https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git
55+
git config --global user.email "dolly@nav.no"
56+
git config --global user.name "$GITHUB_ACTOR"
57+
58+
git fetch
59+
git pull
60+
npm version patch
61+
npm publish
62+
git push --follow-tags
5363
working-directory: ${{ inputs.working-directory }}
5464
env:
55-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
65+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)