Skip to content

Commit d2da5a6

Browse files
Remove codecov (#193)
* Remove codecov * Update GitHub Actions to fix deprecated actions - Update actions/cache from v1 to v4 (fixes workflow failure) - Update actions/checkout to v4 (from v1/v2/master) - Update actions/setup-node to v4 (from v1.1.1/v2) - Replace deprecated set-output with GITHUB_OUTPUT
1 parent 40ebdf5 commit d2da5a6

8 files changed

Lines changed: 32 additions & 121 deletions

File tree

.github/workflows/chromatic-label.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ jobs:
77
if: ${{ contains(github.event.pull_request.labels.*.name, 'snapshot') }}
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- name: Read .nvmrc
14-
run: echo ::set-output name=nvmrc::$(cat .nvmrc)
14+
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT
1515
id: nvm
1616
- name: Setup node
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: '${{ steps.nvm.outputs.nvmrc }}'
20-
- uses: actions/cache@v1
20+
- uses: actions/cache@v4
2121
with:
2222
path: ~/.cache/yarn
2323
key: ${{ runner.OS }}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }}

.github/workflows/chromatic.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ jobs:
1111
name: Run visual regression tests with chromatic
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
- name: Read .nvmrc
18-
run: echo ::set-output name=nvmrc::$(cat .nvmrc)
18+
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT
1919
id: nvm
2020
- name: Setup node
21-
uses: actions/setup-node@v1.1.1
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: '${{ steps.nvm.outputs.nvmrc }}'
24-
- uses: actions/cache@v1
24+
- uses: actions/cache@v4
2525
with:
2626
path: ~/.cache/yarn
2727
key: ${{ runner.OS }}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }}

.github/workflows/publish-lerna.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
name: Publish
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v4
1414
- name: Dump GitHub context
1515
env:
1616
GITHUB_CONTEXT: ${{ toJson(github) }}
1717
run: echo "$GITHUB_CONTEXT"
1818
- name: Read .nvmrc
19-
run: echo ::set-output name=nvmrc::$(cat .nvmrc)
19+
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT
2020
id: nvm
2121
- name: Setup node
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: '${{ steps.nvm.outputs.nvmrc }}'
2525
registry-url: https://registry.npmjs.org/
26-
- uses: actions/cache@v1
26+
- uses: actions/cache@v4
2727
with:
2828
path: ~/.cache/yarn
2929
key: ${{ runner.OS }}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }}

.github/workflows/publish-mainline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
name: Publish
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v4
1414
- name: Dump GitHub context
1515
env:
1616
GITHUB_CONTEXT: ${{ toJson(github) }}
1717
run: echo "$GITHUB_CONTEXT"
1818
- name: Read .nvmrc
19-
run: echo ::set-output name=nvmrc::$(cat .nvmrc)
19+
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT
2020
id: nvm
2121
- name: Setup node
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: '${{ steps.nvm.outputs.nvmrc }}'
2525
registry-url: https://registry.npmjs.org/
26-
- uses: actions/cache@v1
26+
- uses: actions/cache@v4
2727
with:
2828
path: ~/.cache/yarn
2929
key: ${{ runner.OS }}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
name: Test, lint, typecheck
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@master
14+
- uses: actions/checkout@v4
1515
- name: Read .nvmrc
16-
run: echo ::set-output name=nvmrc::$(cat .nvmrc)
16+
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT
1717
id: nvm
1818
- name: Setup node
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: '${{ steps.nvm.outputs.nvmrc }}'
22-
- uses: actions/cache@v1
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.cache/yarn
2525
key: ${{ runner.OS }}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }}
@@ -31,8 +31,6 @@ jobs:
3131
run: yarn bootstrap
3232
- name: Test
3333
run: yarn test:ci
34-
env:
35-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3634
- name: Lint
3735
run: yarn lint
3836
- name: Typecheck

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
---
77

8-
[![npm version](https://badge.fury.io/js/%40lightspeed%2Fflame.svg)](https://badge.fury.io/js/%40lightspeed%2Fflame) [![GitHub Actions workflow status badge](https://github.com/lightspeed/flame/workflows/Test/badge.svg)](https://github.com/lightspeed/flame/actions) [![codecov](https://codecov.io/gh/lightspeed/flame/branch/next/graph/badge.svg)](https://codecov.io/gh/lightspeed/flame)
8+
[![npm version](https://badge.fury.io/js/%40lightspeed%2Fflame.svg)](https://badge.fury.io/js/%40lightspeed%2Fflame) [![GitHub Actions workflow status badge](https://github.com/lightspeed/flame/workflows/Test/badge.svg)](https://github.com/lightspeed/flame/actions)
99

1010
### Storybook
1111

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
1717
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx,json,css,md}'",
1818
"test": "jest",
19-
"test:ci": "yarn test --coverage --runInBand && codecov",
19+
"test:ci": "yarn test --coverage --runInBand",
2020
"typecheck": "tsc",
2121
"precommit": "lint-staged",
2222
"dev": "yarn && concurrently --kill-others 'yarn dev:tokens' 'yarn dev:themes' 'yarn start-storybook -p 6006'",
@@ -83,7 +83,6 @@
8383
"child-process-promise": "^2.2.1",
8484
"chokidar-cli": "^1.2.0",
8585
"chromatic": "^5.0.0",
86-
"codecov": "^3.7.2",
8786
"concurrently": "^3.5.1",
8887
"css-loader": "^3.6.0",
8988
"eslint": "^5.14.1",
@@ -135,4 +134,4 @@
135134
"browserslist": [
136135
"extends @lightspeed/browserslist-config"
137136
]
138-
}
137+
}

yarn.lock

Lines changed: 9 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -4147,11 +4147,6 @@
41474147
"@babel/runtime" "^7.10.3"
41484148
"@testing-library/dom" "^7.17.1"
41494149

4150-
"@tootallnate/once@1":
4151-
version "1.1.2"
4152-
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
4153-
integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==
4154-
41554150
"@types/anymatch@*":
41564151
version "1.3.1"
41574152
resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a"
@@ -4930,18 +4925,6 @@ agent-base@4, agent-base@^4.3.0:
49304925
dependencies:
49314926
es6-promisify "^5.0.0"
49324927

4933-
agent-base@5:
4934-
version "5.1.1"
4935-
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-5.1.1.tgz#e8fb3f242959db44d63be665db7a8e739537a32c"
4936-
integrity sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==
4937-
4938-
agent-base@6:
4939-
version "6.0.1"
4940-
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.1.tgz#808007e4e5867decb0ab6ab2f928fbdb5a596db4"
4941-
integrity sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg==
4942-
dependencies:
4943-
debug "4"
4944-
49454928
agent-base@~4.2.1:
49464929
version "4.2.1"
49474930
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
@@ -5156,11 +5139,6 @@ argparse@^1.0.7:
51565139
dependencies:
51575140
sprintf-js "~1.0.2"
51585141

5159-
argv@0.0.2:
5160-
version "0.0.2"
5161-
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
5162-
integrity sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=
5163-
51645142
aria-query@^4.2.2:
51655143
version "4.2.2"
51665144
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b"
@@ -7647,17 +7625,6 @@ code-point-at@^1.0.0:
76477625
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
76487626
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
76497627

7650-
codecov@^3.7.2:
7651-
version "3.7.2"
7652-
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.7.2.tgz#998e68c8c1ef4b55cfcf11cd456866d35e13d693"
7653-
integrity sha512-fmCjAkTese29DUX3GMIi4EaKGflHa4K51EoMc29g8fBHawdk/+KEq5CWOeXLdd9+AT7o1wO4DIpp/Z1KCqCz1g==
7654-
dependencies:
7655-
argv "0.0.2"
7656-
ignore-walk "3.0.3"
7657-
js-yaml "3.13.1"
7658-
teeny-request "6.0.1"
7659-
urlgrey "0.4.4"
7660-
76617628
collapse-white-space@^1.0.2:
76627629
version "1.0.6"
76637630
resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.6.tgz#e63629c0016665792060dbbeb79c42239d2c5287"
@@ -8477,20 +8444,20 @@ debug@3.1.0, debug@=3.1.0:
84778444
dependencies:
84788445
ms "2.0.0"
84798446

8480-
debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
8481-
version "4.1.1"
8482-
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
8483-
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
8484-
dependencies:
8485-
ms "^2.1.1"
8486-
84878447
debug@^3.0.0, debug@^3.0.1, debug@^3.1.0, debug@^3.2.6:
84888448
version "3.2.6"
84898449
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
84908450
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
84918451
dependencies:
84928452
ms "^2.1.1"
84938453

8454+
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
8455+
version "4.1.1"
8456+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
8457+
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
8458+
dependencies:
8459+
ms "^2.1.1"
8460+
84948461
debuglog@^1.0.1:
84958462
version "1.0.1"
84968463
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
@@ -11464,15 +11431,6 @@ http-proxy-agent@^2.1.0:
1146411431
agent-base "4"
1146511432
debug "3.1.0"
1146611433

11467-
http-proxy-agent@^4.0.0:
11468-
version "4.0.1"
11469-
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a"
11470-
integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==
11471-
dependencies:
11472-
"@tootallnate/once" "1"
11473-
agent-base "6"
11474-
debug "4"
11475-
1147611434
http-signature@~1.2.0:
1147711435
version "1.2.0"
1147811436
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
@@ -11495,14 +11453,6 @@ https-proxy-agent@^2.2.1, https-proxy-agent@^2.2.3:
1149511453
agent-base "^4.3.0"
1149611454
debug "^3.1.0"
1149711455

11498-
https-proxy-agent@^4.0.0:
11499-
version "4.0.0"
11500-
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz#702b71fb5520a132a66de1f67541d9e62154d82b"
11501-
integrity sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==
11502-
dependencies:
11503-
agent-base "5"
11504-
debug "4"
11505-
1150611456
human-signals@^1.1.1:
1150711457
version "1.1.1"
1150811458
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
@@ -11567,7 +11517,7 @@ ignore-by-default@^1.0.1:
1156711517
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09"
1156811518
integrity sha1-SMptcvbGo68Aqa1K5odr44ieKwk=
1156911519

11570-
ignore-walk@3.0.3, ignore-walk@^3.0.1:
11520+
ignore-walk@^3.0.1:
1157111521
version "3.0.3"
1157211522
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37"
1157311523
integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==
@@ -13306,14 +13256,6 @@ js-tokens@^3.0.2:
1330613256
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
1330713257
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
1330813258

13309-
js-yaml@3.13.1:
13310-
version "3.13.1"
13311-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
13312-
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
13313-
dependencies:
13314-
argparse "^1.0.7"
13315-
esprima "^4.0.0"
13316-
1331713259
js-yaml@^3.10.0, js-yaml@^3.13.0, js-yaml@^3.13.1:
1331813260
version "3.14.0"
1331913261
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
@@ -14950,7 +14892,7 @@ node-fetch@^1.0.1:
1495014892
encoding "^0.1.11"
1495114893
is-stream "^1.0.1"
1495214894

14953-
node-fetch@^2.2.0, node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0:
14895+
node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0:
1495414896
version "2.6.0"
1495514897
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
1495614898
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
@@ -18708,13 +18650,6 @@ stream-each@^1.1.0:
1870818650
end-of-stream "^1.1.0"
1870918651
stream-shift "^1.0.0"
1871018652

18711-
stream-events@^1.0.5:
18712-
version "1.0.5"
18713-
resolved "https://registry.yarnpkg.com/stream-events/-/stream-events-1.0.5.tgz#bbc898ec4df33a4902d892333d47da9bf1c406d5"
18714-
integrity sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==
18715-
dependencies:
18716-
stubs "^3.0.0"
18717-
1871818653
stream-http@^2.7.2:
1871918654
version "2.8.3"
1872018655
resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc"
@@ -18993,11 +18928,6 @@ strong-log-transformer@^2.0.0:
1899318928
minimist "^1.2.0"
1899418929
through "^2.3.4"
1899518930

18996-
stubs@^3.0.0:
18997-
version "3.0.0"
18998-
resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b"
18999-
integrity sha1-6NK6H6nJBXAwPAMLaQD31fiavls=
19000-
1900118931
style-loader@^0.21.0:
1900218932
version "0.21.0"
1900318933
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.21.0.tgz#68c52e5eb2afc9ca92b6274be277ee59aea3a852"
@@ -19212,17 +19142,6 @@ tar@^6.0.2:
1921219142
mkdirp "^1.0.3"
1921319143
yallist "^4.0.0"
1921419144

19215-
teeny-request@6.0.1:
19216-
version "6.0.1"
19217-
resolved "https://registry.yarnpkg.com/teeny-request/-/teeny-request-6.0.1.tgz#9b1f512cef152945827ba7e34f62523a4ce2c5b0"
19218-
integrity sha512-TAK0c9a00ELOqLrZ49cFxvPVogMUFaWY8dUsQc/0CuQPGF+BOxOQzXfE413BAk2kLomwNplvdtMpeaeGWmoc2g==
19219-
dependencies:
19220-
http-proxy-agent "^4.0.0"
19221-
https-proxy-agent "^4.0.0"
19222-
node-fetch "^2.2.0"
19223-
stream-events "^1.0.5"
19224-
uuid "^3.3.2"
19225-
1922619145
telejson@^5.0.2:
1922719146
version "5.1.0"
1922819147
resolved "https://registry.yarnpkg.com/telejson/-/telejson-5.1.0.tgz#cc04e4c2a355f9eb6af557e37acd6449feb1d146"
@@ -20076,11 +19995,6 @@ url@^0.11.0:
2007619995
punycode "1.3.2"
2007719996
querystring "0.2.0"
2007819997

20079-
urlgrey@0.4.4:
20080-
version "0.4.4"
20081-
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
20082-
integrity sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=
20083-
2008419998
use-callback-ref@^1.2.1:
2008519999
version "1.2.4"
2008620000
resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.2.4.tgz#d86d1577bfd0b955b6e04aaf5971025f406bea3c"

0 commit comments

Comments
 (0)