Skip to content

Commit

Permalink
chore: init test monorepo ghp setup (#304)
Browse files Browse the repository at this point in the history
* chore: convert to github packages
  • Loading branch information
valosnah authored Nov 19, 2024
1 parent 1246965 commit 44b99f7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod&demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
cache_path: ./dist
cache_key: cache-dist-${{ github.sha }}
dockerfile: apps/${{ matrix.appname }}/Dockerfile
monorepo_app: true
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }}

deploy-prod:
name: Deploy affected apps to production environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
cache_path: ./dist
cache_key: cache-dist-${{ github.sha }}
dockerfile: apps/${{ matrix.appname }}/Dockerfile
monorepo_app: true
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GCP_SA_DIGDIR_FDK_GCR_KEY: ${{ secrets.GCP_SA_DIGDIR_FDK_GCR_KEY }}

deploy:
name: Deploy affected apps to staging environment with reusable workflow
Expand Down
2 changes: 1 addition & 1 deletion deploy/base/data-norge-frontend/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ resources:
- data-norge-frontend-service.yaml
images:
- name: data-norge-frontend
newName: eu.gcr.io/digdir-fdk-infra/data-norge-frontend
newName: ghcr.io/informasjonsforvaltning/fdk-frontend/data-norge-frontend
newTag: $(GIT_COMMIT_SHA)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@axe-core/playwright": "^4.10.1",
"@babel/core": "^7.25.2",
"@babel/preset-react": "^7.24.7",
"@emotion/is-prop-valid": "^1.3.1",
Expand Down
21 changes: 7 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ __metadata:
languageName: node
linkType: hard

"@axe-core/playwright@npm:^4.10.0":
version: 4.10.0
resolution: "@axe-core/playwright@npm:4.10.0"
"@axe-core/playwright@npm:^4.10.1":
version: 4.10.1
resolution: "@axe-core/playwright@npm:4.10.1"
dependencies:
axe-core: "npm:~4.10.0"
axe-core: "npm:~4.10.2"
peerDependencies:
playwright-core: ">= 1.0.0"
checksum: 10c0/dd0e7bc4f59092ae5f204ab1e181406dbbc31adef47e9c3c7cfaa3b566f516d0665cab3ef5cc1a54885defc82a88018e61c2ad94f0d83dcb49f10c0ee2566bc0
checksum: 10c0/d6ca04bfb4d8d01238f2c3b9899a806da4975e847ed017ee03fe147226f55b3c94d21ee6e59a4419708a1c581176f4b3f18fb76f27b2c23ec5dd8405f4d383a0
languageName: node
linkType: hard

Expand Down Expand Up @@ -9103,20 +9103,13 @@ __metadata:
languageName: node
linkType: hard

"axe-core@npm:^4.10.0":
"axe-core@npm:^4.10.0, axe-core@npm:~4.10.2":
version: 4.10.2
resolution: "axe-core@npm:4.10.2"
checksum: 10c0/0e20169077de96946a547fce0df39d9aeebe0077f9d3eeff4896518b96fde857f80b98f0d4279274a7178791744dd5a54bb4f322de45b4f561ffa2586ff9a09d
languageName: node
linkType: hard

"axe-core@npm:~4.10.0":
version: 4.10.0
resolution: "axe-core@npm:4.10.0"
checksum: 10c0/732c171d48caaace5e784895c4dacb8ca6155e9d98045138ebe3952f78457dd05b92c57d05b41ce2a570aff87dbd0471e8398d2c0f6ebe79617b746c8f658998
languageName: node
linkType: hard

"axios@npm:^1.7.5":
version: 1.7.5
resolution: "axios@npm:1.7.5"
Expand Down Expand Up @@ -12946,7 +12939,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "fdk-frontend@workspace:."
dependencies:
"@axe-core/playwright": "npm:^4.10.0"
"@axe-core/playwright": "npm:^4.10.1"
"@babel/core": "npm:^7.25.2"
"@babel/preset-react": "npm:^7.24.7"
"@digdir/designsystemet-css": "npm:^0.10.0"
Expand Down

0 comments on commit 44b99f7

Please sign in to comment.