Skip to content

Commit 7e728f6

Browse files
authored
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
1 parent c8ddf6e commit 7e728f6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/dev-publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
node-version: 18
1414
- run: npm i
1515
- run: npm test
16+
env:
17+
FORCE_COLOR: 3
1618
- run: echo "//wombat-dressing-room.appspot.com/:_authToken=$AUTH_TOKEN" >> .npmrc
1719
env:
1820
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}

.github/workflows/npm-publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
node-version: 16
1515
- run: npm i
1616
- run: npm test
17+
env:
18+
FORCE_COLOR: 3
1719
- run: echo "//wombat-dressing-room.appspot.com/:_authToken=$AUTH_TOKEN" >> .npmrc
1820
env:
1921
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}

0 commit comments

Comments
 (0)