Skip to content

Commit

Permalink
Merge pull request #7 from ccremer/angular-pkg
Browse files Browse the repository at this point in the history
Add Angular package
  • Loading branch information
ccremer committed Apr 22, 2023
2 parents 14ebc24 + e27fbb0 commit 1cac313
Show file tree
Hide file tree
Showing 71 changed files with 14,995 additions and 2,156 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ MAKEFLAGS += --no-builtin-variables

kind_image_version=kindest/node:v1.27.0
kubeconfig=$(PWD)/kind-kubeconfig
example_dir=
example=
example_dir=./packages/$(example)

.PHONY: preinstall
preinstall: npm-ci pull-image
Expand Down Expand Up @@ -41,7 +42,7 @@ e2e: run-playwright

.PHONY: run-playwright
run-playwright: setup-serviceaccount $(example_dir)/.env
npx turbo --filter=./$(example_dir) run e2e
npx turbo run --filter=$(example_dir) e2e

.PHONY: setup-serviceaccount
setup-serviceaccount: export KUBECONFIG=$(kubeconfig)
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
matrix:
example:
- kubernetes-client-example-fetch
- kubernetes-client-angular
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -52,11 +53,11 @@ jobs:
node-version: 'lts/*'
cache: 'npm'
- name: Install dependencies
run: make -f .github/workflows/e2e.mk -e example_dir=packages/${{ matrix.example }} -j 2 preinstall
run: make -f .github/workflows/e2e.mk -e example=${{ matrix.example }} -j 2 preinstall
- name: Setup test tools
run: make -f .github/workflows/e2e.mk -e example_dir=packages/${{ matrix.example }} -j 2 install
run: make -f .github/workflows/e2e.mk -e example=${{ matrix.example }} -j 2 install
- name: Run tests
run: make -f .github/workflows/e2e.mk -e example_dir=packages/${{ matrix.example }} e2e
run: make -f .github/workflows/e2e.mk -e example=${{ matrix.example }} e2e
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
Loading

0 comments on commit 1cac313

Please sign in to comment.