mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
revert ci workflow to non-distributed
This commit is contained in:
34
.github/workflows/lint-test-build.yml
vendored
34
.github/workflows/lint-test-build.yml
vendored
@ -13,30 +13,36 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
permissions:
|
|
||||||
actions: read
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 2
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4.0.0
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4.0.0
|
||||||
|
|
||||||
- run: pnpm dlx nx-cloud start-ci-run --distribute-on="4 linux-medium-js" --stop-agents-after="build"
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4.1.0
|
||||||
- uses: actions/setup-node@v4.1.0
|
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
|
||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
|
node-version: 22
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- name: Install Dependencies
|
||||||
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- uses: nrwl/nx-set-shas@v4.1.2
|
- name: Lint
|
||||||
|
run: pnpm run lint
|
||||||
|
|
||||||
- run: pnpm exec nx affected -t lint format:check test build
|
- name: Format
|
||||||
|
run: pnpm run format:check
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: pnpm run test
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user