diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 68850ce1..d4d25490 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -12,6 +12,6 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - run: make install + - run: make install-lib-only - run: make build - run: make lint diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 3ee27d14..026058e5 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -74,7 +74,7 @@ jobs: - name: Add local.aikido.io to /etc/hosts run: | sudo echo "127.0.0.1 local.aikido.io" | sudo tee -a /etc/hosts - - run: make install + - run: make install-lib-only - run: make build - run: make test-ci - name: "Upload coverage" diff --git a/Makefile b/Makefile index 87116b62..a2e8cdfe 100644 --- a/Makefile +++ b/Makefile @@ -88,14 +88,17 @@ fastify-clickhouse: hono-prisma: cd sample-apps/hono-prisma && AIKIDO_DEBUG=true AIKIDO_BLOCK=true node app.js -.PHONY: install -install: +.PHONY: install-lib-only +install-lib-only: mkdir -p build node scripts/copyPackageJSON.js touch build/index.js cd build && npm link npm install cd library && npm install + +.PHONY: install +install: install-lib-only cd end2end && npm install node scripts/install.js