Skip to content

Commit ee86005

Browse files
authored
Fikset Publish workflow som feiler ved push til master (#3802)
* Oppdatert libs og assets * Oppdatert Dolly komponent-bibliotek * Oppdatert publish workflow til å fungere igjen ved push til master * Oppdatert frontend applikasjoner for å patche utdaterte dependencies
1 parent fde5be5 commit ee86005

File tree

15 files changed

+4508
-7225
lines changed

15 files changed

+4508
-7225
lines changed

.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:[email protected]/$GITHUB_REPOSITORY.git
55+
git config --global user.email "[email protected]"
56+
git config --global user.name "$GITHUB_ACTOR"
57+
58+
npm version patch
59+
npm publish
60+
git add .
61+
git commit -m "chore: release new version"
62+
git push origin
5363
working-directory: ${{ inputs.working-directory }}
5464
env:
55-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
65+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

apps/dollystatus/src/main/js/package-lock.json

+321-774
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/dollystatus/src/main/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "status-frontend",
3-
"version": "1.1.14",
3+
"version": "1.1.15",
44
"type": "module",
55
"private": true,
66
"dependencies": {

apps/endringsmelding-frontend/src/main/js/package-lock.json

+486-805
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/endringsmelding-frontend/src/main/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "endringsmelding-frontend",
3-
"version": "1.2.30",
3+
"version": "1.2.31",
44
"private": true,
55
"type": "module",
66
"homepage": "/",

apps/faste-data-frontend/src/main/js/package-lock.json

+323-801
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/faste-data-frontend/src/main/js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "testnav-faste-data-frontend",
3-
"version": "1.2.16",
3+
"version": "1.2.17",
44
"private": true,
55
"type": "module",
66
"dependencies": {
@@ -24,7 +24,7 @@
2424
"@types/react": "^19.0.8",
2525
"@types/react-dom": "^19.0.3",
2626
"@types/react-router-dom": "^5.3.3",
27-
"@types/react-select": "^5.0.1",
27+
"@types/react-select": "^5.0.0",
2828
"@types/react-syntax-highlighter": "^15.5.4",
2929
"less": "^4.1.3",
3030
"prettier": "^3.0.1",

0 commit comments

Comments
 (0)