From 73e1661e12e4d0151b1c017a053f95e2e4372366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Th=C3=A9riault?= Date: Tue, 19 Mar 2024 11:34:20 -0400 Subject: [PATCH] don't lint when publishing testing packages --- .github/workflows/release.yml | 1 + .github/workflows/testing.yml | 1 - package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42d755a5..61609001 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,7 @@ jobs: - run: corepack enable - run: yarn install --immutable + - run: yarn lint - run: yarn publish env: YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 21c56754..8bd5b517 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -47,7 +47,6 @@ jobs: yarn install yarn version:testing yarn install - yarn lint:fix - run: yarn publish diff --git a/package.json b/package.json index 99d1b0d7..7ebf84d8 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lambda": "node scripts/lambda.js", "lint": "prettier --check *.json *.md .github && turbo run lint --continue", "lint:fix": "prettier --write *.json *.md .github && turbo run lint:fix --continue", - "publish": "turbo run build && turbo run lint && turbo run publish", + "publish": "turbo run build && turbo run publish", "test": "turbo run test --continue", "version:latest": "node scripts/version.js", "version:prerelease": "node scripts/version.js pre",