Skip to content

Commit b3d61c3

Browse files
committed
chore: update config
1 parent 772248b commit b3d61c3

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.github/workflows/codecov.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
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
33

4-
name: Codecov CI
4+
# name: Codecov CI
55

6-
on:
7-
push:
8-
branches: ["**"]
9-
pull_request:
10-
branches: ["**"]
6+
# on:
7+
# push:
8+
# branches: ["**"]
9+
# pull_request:
10+
# branches: ["**"]
1111

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
2121

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"
2525

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
3737

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

Comments
 (0)