Skip to content

Commit e6ba657

Browse files
committed
refactor: npm install
1 parent 1112012 commit e6ba657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/setup-node@v2
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
- run: npm ci
20+
- run: npm install
2121
- run: npm run build --if-present
2222
- run: npm run test --if-present
2323
# Only run the coverage once
@@ -36,7 +36,7 @@ jobs:
3636
# ];
3737
# SUMMARY = SUMMARY.split('\n')[5]; // 'Lines : 31.93% ( 38/119 )'
3838
# SUMMARY = SUMMARY.split(':')[1].split('(')[0].trim(); // '31.93%'
39-
SUMMARY="$(npm run 'test-ci' | tail -2 | head -1)"
39+
SUMMARY="$(npm run test-ci | tail -2 | head -1)"
4040
TOKENS=($SUMMARY)
4141
# process.env.COVERAGE = '31.93%';
4242
echo "COVERAGE=$(echo ${TOKENS[2]})" >> $GITHUB_ENV

0 commit comments

Comments
 (0)