Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up v3 branch #395

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .dockerignore

This file was deleted.

2 changes: 0 additions & 2 deletions .env

This file was deleted.

File renamed without changes.
8 changes: 0 additions & 8 deletions .gitattributes

This file was deleted.

19 changes: 12 additions & 7 deletions .github/workflows/main-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build, push, and deploy
on: [push]

concurrency:
group: v3-${{ github.ref }}
group: ${{ github.ref }}

jobs:
deploy:
Expand All @@ -12,30 +12,35 @@ jobs:
permissions:
contents: 'read'
id-token: 'write'
if: github.ref == 'refs/heads/v3'
steps:
- uses: actions/checkout@v4

- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies (bun)
working-directory: './v3/packages/internarbeidsflate-decorator-v3'
working-directory: './packages/internarbeidsflate-decorator-v3'
run: bun install

- name: Run tests
working-directory: './v3/packages/internarbeidsflate-decorator-v3'
working-directory: './packages/internarbeidsflate-decorator-v3'
run: bun run test

- name: Build application
working-directory: './v3/packages/internarbeidsflate-decorator-v3'
working-directory: './packages/internarbeidsflate-decorator-v3'
run: bun run build

- name: Upload to CDN dev path
if: github.ref == 'refs/heads/v3' || github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/dev'
uses: nais/deploy/actions/cdn-upload/v2@master
with:
team: personoversikt
source: ./v3/packages/internarbeidsflate-decorator-v3/dist/
source: ./packages/internarbeidsflate-decorator-v3/dist/
destination: /internarbeidsflate-decorator-v3/dev/latest
no_cache_paths: "internarbeidsflate-decorator-v3/dev/latest/dist/asset-manifest.json,internarbeidsflate-decorator-v3/dev/latest/dist/bundle.js,internarbeidsflate-decorator-v3/dev/latest/dist/index.css"
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}

- name: Upload to CDN prod path
if: github.ref == 'refs/heads/main'
uses: nais/deploy/actions/cdn-upload/v2@master
Expand Down
107 changes: 0 additions & 107 deletions .github/workflows/main.yaml

This file was deleted.

File renamed without changes.
37 changes: 0 additions & 37 deletions .nais/prod.yaml

This file was deleted.

40 changes: 0 additions & 40 deletions .nais/qa-template.yaml

This file was deleted.

10 changes: 3 additions & 7 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"trailingComma": "none",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"printWidth": 100,
"arrowParens": "always"
}
"tabWidth": 2,
"singleQuote": true
}
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading