Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: improve github actions #1573

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dhensby
Copy link
Contributor

@dhensby dhensby commented Sep 14, 2023

  1. The setup-node action automatically stores caches for NPM and uses the same logic as the current action implementation, so there's no need to duplicate it in the action definition.
  2. Remove redundant NPM upgrade step - v6.x of Node is no longer tested/supported.
  3. Linting step does not need complete repository history.

More to come...

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #1573 (a4a44cb) into master (4f3e210) will decrease coverage by 0.92%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1573      +/-   ##
==========================================
- Coverage   80.45%   79.53%   -0.92%     
==========================================
  Files          92       92              
  Lines        4692     4692              
  Branches      871      871              
==========================================
- Hits         3775     3732      -43     
- Misses        644      689      +45     
+ Partials      273      271       -2     

see 4 files with indirect coverage changes

The setup-node action automatically stores caches for NPM and uses the
same logic as the current action implementation, so there's no need to
duplicate it in the action definition.
The npm upgrade steps in CI only run if the matrix version for node is 6.x
but 6.x is not a tested version of node in any of the matrix definitions.
The linting step does not need the entire repository history to
run. Only checkout the minimal history to allow faster lint step.
@dhensby dhensby force-pushed the pulls/action-improvements branch 3 times, most recently from 04e5199 to a4a44cb Compare September 14, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant