Skip to content

Commit

Permalink
fix(root): ci/cd with correct install procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schürmann committed Dec 28, 2024
1 parent 4aed0cb commit 5b47c9d
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 149 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install
run: npm install

- name: Clean
run: make clean
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

# Clean all dependencies and build artifacts
clean:
rm -rf node_modules
rm -rf packages/*/node_modules
rm -rf packages/*/dist

# Install all dependencies
bootstrap:
npm install
npm install -ws
npm run build -ws

Expand Down
222 changes: 76 additions & 146 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"tsx": "4.19.2"
},
"scripts": {
"prepare": "husky",
"prepare": "npx husky",
"reset": "make clean && make bootstrap && make test && make docs",
"clean": "make clean",
"bootstrap": "make bootstrap",
Expand Down

0 comments on commit 5b47c9d

Please sign in to comment.