From 7e728f6b768e0bef09ad9325805c3f4fbae41f0f Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Sun, 25 Feb 2024 17:56:57 +0300 Subject: [PATCH] ci: apply env FORCE_COLOR to test step only (#727) * ci: enable autotests for all pushes * ci: convert `dev publish` to manual task * ci: set FORCE_COLOR: 3 for dev publish script * ci: set FORCE_COLOR: 3 for dev-publish * ci: apply env FORCE_COLOR to test only --- .github/workflows/dev-publish.yml | 2 ++ .github/workflows/npm-publish.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/dev-publish.yml b/.github/workflows/dev-publish.yml index ab3168c787..c243ed46a0 100644 --- a/.github/workflows/dev-publish.yml +++ b/.github/workflows/dev-publish.yml @@ -13,6 +13,8 @@ jobs: node-version: 18 - run: npm i - run: npm test + env: + FORCE_COLOR: 3 - run: echo "//wombat-dressing-room.appspot.com/:_authToken=$AUTH_TOKEN" >> .npmrc env: AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d364f2ce82..b37305f551 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,6 +14,8 @@ jobs: node-version: 16 - run: npm i - run: npm test + env: + FORCE_COLOR: 3 - run: echo "//wombat-dressing-room.appspot.com/:_authToken=$AUTH_TOKEN" >> .npmrc env: AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}