We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm install
1 parent 1112012 commit e6ba657Copy full SHA for e6ba657
.github/workflows/node.js.yml
@@ -17,7 +17,7 @@ jobs:
17
uses: actions/setup-node@v2
18
with:
19
node-version: ${{ matrix.node-version }}
20
- - run: npm ci
+ - run: npm install
21
- run: npm run build --if-present
22
- run: npm run test --if-present
23
# Only run the coverage once
@@ -36,7 +36,7 @@ jobs:
36
# ];
37
# SUMMARY = SUMMARY.split('\n')[5]; // 'Lines : 31.93% ( 38/119 )'
38
# SUMMARY = SUMMARY.split(':')[1].split('(')[0].trim(); // '31.93%'
39
- SUMMARY="$(npm run 'test-ci' | tail -2 | head -1)"
+ SUMMARY="$(npm run test-ci | tail -2 | head -1)"
40
TOKENS=($SUMMARY)
41
# process.env.COVERAGE = '31.93%';
42
echo "COVERAGE=$(echo ${TOKENS[2]})" >> $GITHUB_ENV
0 commit comments