-
Notifications
You must be signed in to change notification settings - Fork 0
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
403 changed files
with
35,259 additions
and
26,181 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
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 was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
.github/workflows/dispatch.deploy-dine-pleiepenger-to-prod.yml
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,30 @@ | ||
name: Deploy dine-pleiepenger to prod | ||
run-name: Deploy dine-pleiepenger to prod | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'apps/dine-pleiepenger/**/*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests: | ||
uses: ./.github/workflows/test.dine-pleiepenger.yml | ||
secrets: inherit | ||
|
||
deploy-to-prod: | ||
name: Deploy dine-pleiepenger to prod | ||
needs: [run-tests] | ||
uses: ./.github/workflows/.deploy-app-to-prod.yml | ||
secrets: inherit | ||
permissions: | ||
contents: write | ||
security-events: write | ||
id-token: write | ||
actions: read | ||
with: | ||
app-name: 'dine-pleiepenger' | ||
working-directory: 'apps/dine-pleiepenger' | ||
is-next-app: true |
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
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
29 changes: 29 additions & 0 deletions
29
.github/workflows/dispatch.deploy-omsorgsdager-kalkulator-to-prod.yml
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,29 @@ | ||
name: Deploy omsorgsdager kalkulator to prod | ||
run-name: Deploy omsorgsdager kalkulator to prod | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'apps/omsorgsdager-kalkulator/**/*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests: | ||
uses: ./.github/workflows/test.omsorgsdager-kalkulator.yml | ||
secrets: inherit | ||
|
||
deploy-to-prod: | ||
name: Deploy omsorgsdager kalkulator to prod | ||
needs: [run-tests] | ||
uses: ./.github/workflows/.deploy-app-to-prod.yml | ||
secrets: inherit | ||
permissions: | ||
contents: write | ||
security-events: write | ||
id-token: write | ||
actions: read | ||
with: | ||
app-name: 'omsorgsdager-kalkulator' | ||
working-directory: 'apps/omsorgsdager-kalkulator' |
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
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 |
---|---|---|
|
@@ -10,53 +10,20 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies (yarn) | ||
run: yarn | ||
|
||
- name: Run code tests | ||
run: yarn test --filter=pleiepenger-sykt-barn | ||
|
||
- name: Build and start e2e server | ||
uses: cypress-io/[email protected] | ||
env: | ||
DEKORATOR_URL: https://www.nav.no/dekoratoren/?simple=true&chatbot=false | ||
PUBLIC_PATH: /familie/sykdom-i-familien/soknad/pleiepenger | ||
FRONTEND_API_PATH: http://localhost:8082/ | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
project: ./apps/pleiepenger-sykt-barn/e2e | ||
build: yarn build-pleiepenger-sykt-barn | ||
start: yarn turbo start-e2e-server --filter=pleiepenger-sykt-barn | ||
wait-on: 'http://localhost:8080' | ||
wait-on-timeout: 60 | ||
runTests: false | ||
|
||
- name: Run cypress tests | ||
run: yarn turbo cypress-run --filter=pleiepenger-sykt-barn | ||
|
||
deploy-to-prod: | ||
name: Deploy pleiepenger-sykt-barn to prod | ||
needs: [run-tests] | ||
uses: navikt/sif-brukerdialog/.github/workflows/.deploy-app-to-prod.yml@main | ||
secrets: inherit | ||
permissions: | ||
contents: write | ||
security-events: write | ||
id-token: write | ||
actions: read | ||
with: | ||
app-name: 'pleiepenger-sykt-barn' | ||
working-directory: 'apps/pleiepenger-sykt-barn' | ||
run-tests: | ||
uses: ./.github/workflows/test.pleiepenger-sykt-barn.yml | ||
secrets: inherit | ||
|
||
deploy-to-prod: | ||
name: Deploy pleiepenger-sykt-barn to prod | ||
needs: [run-tests] | ||
uses: ./.github/workflows/.deploy-app-to-prod.yml | ||
secrets: inherit | ||
permissions: | ||
contents: write | ||
security-events: write | ||
id-token: write | ||
actions: read | ||
with: | ||
app-name: 'pleiepenger-sykt-barn' | ||
working-directory: 'apps/pleiepenger-sykt-barn' |
Oops, something went wrong.