-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subgraph typings generation during coverage run (#1421)
* subgraph typings generation during coverage run * cache node_modules * ignore src/@types/ for coverage
- Loading branch information
1 parent
065f5bc
commit a5819ba
Showing
2 changed files
with
31 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,21 +72,35 @@ jobs: | |
name: coverage-${{ runner.os }} | ||
path: coverage/ | ||
|
||
# coverage: | ||
# runs-on: ubuntu-latest | ||
# needs: [test] | ||
# if: ${{ success() && github.actor != 'dependabot[bot]' }} | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/download-artifact@v2 | ||
# with: | ||
# name: coverage-${{ runner.os }} | ||
|
||
# - uses: paambaati/[email protected] | ||
# env: | ||
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
# with: | ||
# debug: true | ||
coverage: | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
if: ${{ success() && github.actor != 'dependabot[bot]' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- name: Cache node_modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-coverage-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: ${{ runner.os }}-coverage-${{ env.cache-name }}- | ||
|
||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: coverage-${{ runner.os }} | ||
|
||
- run: npm ci | ||
- run: npm run codegen:apollo | ||
|
||
- uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
|
||
storybook: | ||
runs-on: ${{ matrix.os }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters