Sitelet https://github.com/actions/javascript-action/pull/274
Skip to content

Use cache in check-dist.yml - #274

Merged
ncalteen merged 1 commit into
actions:mainfrom
jongwooo:chore/use-cache-in-check-dist
Sep 14, 2023
Merged

ncalteen merged 1 commit into
actions:mainfrom
jongwooo:chore/use-cache-in-check-dist

Conversation

@jongwooo

@jongwooo jongwooo commented Dec 6, 2022 •

Copy link
Copy Markdown
Contributor

Signed-off-by: jongwooo jongwooo.han@gmail.com

Description

Use cache in check-dist.yml
See actions/cache#1004

AS-IS

- name: Set Node.js 16.x
  uses: actions/setup-node@v3.5.1
  with:
    node-version: 16.x

TO-BE

- name: Set Node.js 16.x
  uses: actions/setup-node@v3.5.1
  with:
    node-version: 16.x
    cache: npm

It’s literally a one line change to pass the cache: npm input parameter.

Signed-off-by: jongwooo <jongwooo.han@gmail.com>
@jongwooo
jongwooo requested a review from a team as a code owner December 6, 2022 15:56
@ncalteen ncalteen self-assigned this Sep 14, 2023
@ncalteen
ncalteen merged commit d345eef into actions:main Sep 14, 2023
@jongwooo
jongwooo deleted the chore/use-cache-in-check-dist branch September 14, 2023 14:55
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.

2 participants