Skip to content

Commit

Permalink
ci: apply env FORCE_COLOR to test step only (#727)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
antongolub authored Feb 25, 2024
1 parent c8ddf6e commit 7e728f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 7e728f6

Please sign in to comment.