Skip to content
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
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: ${{ vars.PNPM_VERSION }}
- name: Set-up Node
uses: actions/setup-node@v5
with:
node-version: ${{ vars.NODEJS_VERSION }}
cache: "pnpm"
cache-dependency-path: console/pnpm-lock.yaml
- name: Set up Go
uses: actions/setup-go@v5
with:
Expand All @@ -105,6 +114,8 @@ jobs:
with:
path: bin
key: ${{ runner.os }}-bin-${{ hashFiles('**/go.sum') }}
- name: Install Console Dependencies
run: cd console && pnpm install
- name: Auto generate files
run: make generate
- name: Check for file changes
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ fmt: | $(EMBEDDED) ; $(info $(M) running go fmt…) @ ## Run gofmt on all source
.PHONY: generate
generate: | $(EMBEDDED) $(TOOLCHAIN) ; $(info $(M) updating generated files…) @ ## Update all generated files
$Q $(GO) generate $(PKGS)
$Q cd console && $(PNPM) run generate
$Q $(MAKE) fmt

.PHONY: clean
Expand Down
1 change: 1 addition & 0 deletions console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"test:coverage": "vitest run --coverage --watch=false",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"analyze:bundle": "pnpm build && npx source-map-explorer './dist/assets/*.js'",
"generate": "pnpm run /^generate:/",
"generate:openapi": "openapi-typescript ../oapi/webhooks.yml -o ./src/oapi/webhooks.generated.ts"
},
"types": "./lib/cjs/mod.d.ts",
Expand Down
Loading
Loading