Skip to content

Commit

Permalink
Switch to npm workspaces and cleaned up typescript errors (actions#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarpenter12 committed Mar 13, 2024
1 parent 7223e1d commit c77d5bc
Show file tree
Hide file tree
Showing 39 changed files with 11,766 additions and 25,052 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml
name: Setup kind cluster yaml config
- name: Setup kind cluster yaml config
run: sed -i "s|{{PATHTOREPO}}|$(pwd)|" packages/k8s/tests/test-kind.yaml
- uses: helm/[email protected]
with:
config: packages/k8s/tests/test-kind.yaml
- run: npm install
name: Install dependencies
- run: npm run bootstrap
name: Bootstrap the packages
- run: npm run build-all
name: Build packages
- run: npm run format-check
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Check formatting
run: npm run format-check
- name: Check linter
run: |
npm run lint
git diff --exit-code -- ':!packages/k8s/tests/test-kind.yaml'
- name: Run tests
run: npm run test
run: npm run test
10 changes: 4 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install
name: Install dependencies
- run: npm run bootstrap
name: Bootstrap the packages
- run: npm run build-all
name: Build packages
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build
- uses: actions/github-script@v6
id: releaseVersion
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea/
node_modules/
lib/
dist/
**/tests/_temp/**
packages/k8s/tests/test-kind.yaml
packages/k8s/tests/test-kind.yaml
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ You'll need a runner compatible with hooks, a repository with container workflow


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


## E2E
Expand Down
Loading

0 comments on commit c77d5bc

Please sign in to comment.