|
1 | | -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node |
2 | | -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions |
| 1 | +# # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node |
| 2 | +# # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions |
3 | 3 |
|
4 | | -name: Codecov CI |
| 4 | +# name: Codecov CI |
5 | 5 |
|
6 | | -on: |
7 | | - push: |
8 | | - branches: ["**"] |
9 | | - pull_request: |
10 | | - branches: ["**"] |
| 6 | +# on: |
| 7 | +# push: |
| 8 | +# branches: ["**"] |
| 9 | +# pull_request: |
| 10 | +# branches: ["**"] |
11 | 11 |
|
12 | | -jobs: |
13 | | - build: |
14 | | - defaults: |
15 | | - run: |
16 | | - shell: bash |
17 | | - runs-on: ubuntu-latest |
18 | | - environment: prod |
19 | | - steps: |
20 | | - - uses: actions/checkout@v2 |
| 12 | +# jobs: |
| 13 | +# build: |
| 14 | +# defaults: |
| 15 | +# run: |
| 16 | +# shell: bash |
| 17 | +# runs-on: ubuntu-latest |
| 18 | +# environment: prod |
| 19 | +# steps: |
| 20 | +# - uses: actions/checkout@v2 |
21 | 21 |
|
22 | | - - name: Get yarn cache directory path |
23 | | - id: yarn-cache-dir-path |
24 | | - run: echo "::set-output name=dir::node_modules" |
| 22 | +# - name: Get yarn cache directory path |
| 23 | +# id: yarn-cache-dir-path |
| 24 | +# run: echo "::set-output name=dir::node_modules" |
25 | 25 |
|
26 | | - - uses: actions/cache@v3 |
27 | | - id: yarn-cache |
28 | | - with: |
29 | | - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} |
30 | | - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
31 | | - restore-keys: | |
32 | | - ${{ runner.os }}-yarn- |
33 | | - - name: set up env |
34 | | - uses: actions/setup-node@v2 |
35 | | - with: |
36 | | - node-version: 12 |
| 26 | +# - uses: actions/cache@v3 |
| 27 | +# id: yarn-cache |
| 28 | +# with: |
| 29 | +# path: ${{ steps.yarn-cache-dir-path.outputs.dir }} |
| 30 | +# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
| 31 | +# restore-keys: | |
| 32 | +# ${{ runner.os }}-yarn- |
| 33 | +# - name: set up env |
| 34 | +# uses: actions/setup-node@v2 |
| 35 | +# with: |
| 36 | +# node-version: 12 |
37 | 37 |
|
38 | | - - name: test and upload to codecov |
39 | | - env: |
40 | | - DOMAIN: ${{ secrets.DOMAIN }} |
41 | | - TOKEN: ${{ secrets.TOKEN }} |
42 | | - DATASHEET_ID: ${{ secrets.DATASHEET_ID }} |
43 | | - FOLDER_ID: ${{ secrets.FOLDER_ID }} |
44 | | - SPACE_ID: ${{ secrets.SPACE_ID }} |
45 | | - VIEW_ID: ${{ secrets.VIEW_ID }} |
46 | | - run: | |
47 | | - yarn |
48 | | - yarn test:coverage |
49 | | - curl -Os https://uploader.codecov.io/latest/linux/codecov |
50 | | - chmod +x codecov |
51 | | - ./codecov |
| 38 | +# - name: test and upload to codecov |
| 39 | +# env: |
| 40 | +# DOMAIN: ${{ secrets.DOMAIN }} |
| 41 | +# TOKEN: ${{ secrets.TOKEN }} |
| 42 | +# DATASHEET_ID: ${{ secrets.DATASHEET_ID }} |
| 43 | +# FOLDER_ID: ${{ secrets.FOLDER_ID }} |
| 44 | +# SPACE_ID: ${{ secrets.SPACE_ID }} |
| 45 | +# VIEW_ID: ${{ secrets.VIEW_ID }} |
| 46 | +# run: | |
| 47 | +# yarn |
| 48 | +# yarn test:coverage |
| 49 | +# curl -Os https://uploader.codecov.io/latest/linux/codecov |
| 50 | +# chmod +x codecov |
| 51 | +# ./codecov |
0 commit comments