Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

add test to github action

Amruth Pillai7a65363296cc
diff --git a/.github/workflows/lint-build.yml b/.github/workflows/lint-test-build.yml
similarity index 73%
rename from .github/workflows/lint-build.yml
rename to .github/workflows/lint-test-build.yml
index 93972189b..2b419e546 100644
--- a/.github/workflows/lint-build.yml
+++ b/.github/workflows/lint-test-build.yml
@@ -1,13 +1,13 @@
-name: Lint and Build
+name: Lint, Test and Build
on:
+ workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
- workflow_dispatch:
permissions:
actions: read
@@ -30,16 +30,14 @@ jobs:
number-of-agents: 1
init-commands: |
pnpm exec prisma generate
- pnpm exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
- parallel-commands: |
- pnpm exec nx-cloud record -- pnpm exec nx format:check
+ pnpm exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=1
parallel-commands-on-agents: |
- pnpm exec nx affected --target=lint
- pnpm exec nx affected --target=test
- pnpm exec nx affected --target=build
+ pnpm exec nx-cloud record -- pnpm exec nx affected --target=lint
+ pnpm exec nx-cloud record -- pnpm exec nx affected --target=test
+ pnpm exec nx-cloud record -- pnpm exec nx affected --target=build
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
- number-of-agents: 3
+ number-of-agents: 1