Skip to content

Commit 99a6440

Browse files
Switch to npm workspaces and cleaned up typescript errors (#146)
1 parent 9705dee commit 99a6440

39 files changed

+11747
-25033
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml
15-
name: Setup kind cluster yaml config
14+
- name: Setup kind cluster yaml config
15+
run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml
1616
- uses: helm/kind-action@v1.2.0
1717
with:
1818
config: packages/k8s/tests/test-kind.yaml
19-
- run: npm install
20-
name: Install dependencies
21-
- run: npm run bootstrap
22-
name: Bootstrap the packages
23-
- run: npm run build-all
24-
name: Build packages
25-
- run: npm run format-check
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Build packages
22+
run: npm run build
23+
- name: Check formatting
24+
run: npm run format-check
2625
- name: Check linter
2726
run: |
2827
npm run lint
2928
git diff --exit-code -- ':!packages/k8s/tests/test-kind.yaml'
3029
- name: Run tests
31-
run: npm run test
30+
run: npm run test

.github/workflows/release.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v3
9-
- run: npm install
10-
name: Install dependencies
11-
- run: npm run bootstrap
12-
name: Bootstrap the packages
13-
- run: npm run build-all
14-
name: Build packages
9+
- name: Install dependencies
10+
run: npm ci
11+
- name: Build packages
12+
run: npm run build
1513
- uses: actions/github-script@v6
1614
id: releaseVersion
1715
with:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
.idea/
12
node_modules/
23
lib/
34
dist/
45
**/tests/_temp/**
5-
packages/k8s/tests/test-kind.yaml
6+
packages/k8s/tests/test-kind.yaml

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ You'll need a runner compatible with hooks, a repository with container workflow
44

55

66
## Getting Started
7-
- Run ` npm install && npm run bootstrap` to setup your environment and install all the needed packages
7+
- Run `npm install` to install all the needed packages
88
- Run `npm run lint` and `npm run format` to ensure your charges will pass CI
9-
- Run `npm run build-all` to build and test end to end.
9+
- Run `npm run build` to build and test end to end.
1010

1111

1212
## E2E

0 commit comments

Comments
 (0)