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!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix lint-test-build workflow
Amruth Pillaie2e2551db4b3
diff --git a/.env.example b/.env.exampleindex 7d9fc229f..15a0dc545 100644--- a/.env.example+++ b/.env.example@@ -50,6 +50,9 @@ STORAGE_USE_SSL=false# SERVER_SENTRY_DSN=# VITE_CLIENT_SENTRY_DSN=+# Nx Cloud (Optional)+# NX_CLOUD_ACCESS_TOKEN=+# Crowdin (Optional)# CROWDIN_PROJECT_ID=# CROWDIN_PERSONAL_TOKEN=diff --git a/.github/workflows/lint-test-build.yml b/.github/workflows/lint-test-build.ymlindex 2b419e546..fca917f9c 100644--- a/.github/workflows/lint-test-build.yml+++ b/.github/workflows/lint-test-build.yml@@ -1,4 +1,8 @@-name: Lint, Test and Build+name: Lint, Test & Build++concurrency:+ group: "${{ github.workflow }}-${{ github.ref }}"+ cancel-in-progress: trueon:workflow_dispatch:@@ -9,35 +13,42 @@ on:branches:- main-permissions:- actions: read- contents: read+jobs:+ main:+ runs-on: ubuntu-latest-concurrency:- group: "${{ github.workflow }}-${{ github.ref }}"- cancel-in-progress: true+ steps:+ - name: Checkout Repository+ uses: actions/[email protected]+ with:+ fetch-depth: 2-env:- NX_BRANCH: "${{ github.event.number || github.ref_name }}"- NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}+ - name: Setup pnpm+ uses: pnpm/[email protected]+ with:+ version: 9-jobs:- main:- name: Nx Cloud - Main Job- uses: nrwl/ci/.github/workflows/[email protected]- with:- main-branch-name: main- number-of-agents: 1- init-commands: |- pnpm exec prisma generate- pnpm exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=1- parallel-commands-on-agents: |- 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: 1+ - name: Setup Node.js+ uses: actions/[email protected]+ with:+ cache: "pnpm"+ node-version: 20++ - name: Install Dependencies+ run: pnpm install --frozen-lockfile++ - name: Lint+ run: pnpm lint++ - name: Format+ run: pnpm format:check++ - name: Test+ run: pnpm test++ - name: Build+ run: pnpm build+ env:+ NODE_ENV: production+ SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}+ NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}diff --git a/package.json b/package.jsonindex c5a3c7a56..cc6bf3855 100644--- a/package.json+++ b/package.json@@ -20,8 +20,9 @@"build": "nx run-many -t build","prestart": "pnpm prisma:migrate","start": "node dist/apps/server/main",- "lint": "nx run-many -t lint --fix",- "format": "pnpm exec prettier -w .",+ "lint": "nx run-many -t lint",+ "format:check": "pnpm exec prettier -c --log-level error .",+ "format:write": "pnpm exec prettier -w --log-level error .","crowdin:sync": "crowdin push && crowdin pull","prisma:generate": "pnpm exec prisma generate","prisma:migrate": "pnpm exec prisma migrate deploy",