Skip to content

Commit

Permalink
Merge pull request #319 from NorskHelsenett/feature/new-typescript-mo…
Browse files Browse the repository at this point in the history
…dels

New typescript models
  • Loading branch information
rogerwesterbo authored Jan 28, 2025
2 parents bb3b859 + 9245c1f commit 1761520
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- main
paths:
- 'pkg/**'
- 'typescript/models/**'
jobs:
build-app:
permissions:
Expand Down Expand Up @@ -32,3 +33,20 @@ jobs:
go get -t ./...
go vet ./...
go test -v ./...
build-typescript-models:
defaults:
run:
working-directory: ./typescript/models
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Test
run: npm run build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ update-charts
charts/*.tgz
~
**/isbuilt
resources.ts-*.backup
2 changes: 1 addition & 1 deletion typescript/models/src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ export interface ResourceNamespace {}
export interface ResourceTag {
key: string;
value: string;
properties: { [key: ResourceTagProperties]: string };
properties: { [key: string]: string };
}
export interface RorResourceOwnerReference {
scope: string;
Expand Down

0 comments on commit 1761520

Please sign in to comment.