From 15525f5672be66128ea2938cb4806a649d7d71e4 Mon Sep 17 00:00:00 2001 From: Jay McDoniel Date: Mon, 11 Oct 2021 15:13:28 -0700 Subject: [PATCH] ci: standardize the methods and pmpn usage --- .github/workflows/ci.yml | 6 +++--- .github/workflows/docs-deploy.yml | 2 +- .github/workflows/release.yml | 9 ++++----- package.json | 3 +-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c8d83a5..87a6e5e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Install pnpm run: npm i -g pnpm - name: Install deps - run: pnpm i --frozen-lockfile=false + run: pnpm i - name: Lint run: pnpm lint - name: Build Projects @@ -57,7 +57,7 @@ jobs: - name: Install pnpm run: npm i -g pnpm - name: Install deps - run: pnpm i --frozen-lockfile=false + run: pnpm i - name: Lint run: pnpm lint - name: Build Projects @@ -113,6 +113,6 @@ jobs: - name: Install pnpm run: npm i -g pnpm - name: Install deps - run: pnpm i --frozen-lockfile=false + run: pnpm i - name: Start Nx Agent ${{ matrix.agent }} run: pnpm nx-cloud start-agent \ No newline at end of file diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 3171e3a9..a7deb5e0 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -31,7 +31,7 @@ jobs: - name: Install pnpm run: npm i -g pnpm - name: Dependencies Install - run: pnpm i --frozen-lockfile=false + run: pnpm i - name: Build Docs run: pnpm nx build docs - uses: webfactory/ssh-agent@v0.5.3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b7a6b1d..ff1923e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,6 @@ jobs: - name: Checkout Repo uses: actions/checkout@master with: - # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands uses: nrwl/nx-set-shas@v2 @@ -32,7 +31,7 @@ jobs: run: npm i -g pnpm - name: Install Dependencies - run: pnpm i --frozen-lockfile=false + run: pnpm i - name: Build Projects run: pnpm build @@ -52,7 +51,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Stop Nx Cloud Agents - run: pnpx -y nx-cloud stop-all-agents + run: pnpm -y nx-cloud stop-all-agents nx_agent: runs-on: ubuntu-latest @@ -67,5 +66,5 @@ jobs: run: npm i -g pnpm - name: Install Dependencies - run: pnpm i --frozen-lockfile=false - - run: npx nx-cloud start-agent \ No newline at end of file + run: pnpm i + - run: pnpm nx-cloud start-agent \ No newline at end of file diff --git a/package.json b/package.json index 43609462..7fa86f1b 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,7 @@ "version": "0.0.0", "description": "A module for making CLI applications with NestJS. Decorators for running commands and separating out config parsers included. This package works on top of commander.", "scripts": { - "build": "nx affected:build --with-deps --parallel", - "test": "nx affected:test", + "build": "nx affected:build --parallel", "lint": "eslint --ext .ts .", "format": "prettier \"{packages,integration}/**/{src,test}/*.ts\"", "format:check": "pnpm format -- --check",