Skip to content

Commit

Permalink
Merge pull request #179 from oscard0m/add-cache-to-node-workflows
Browse files Browse the repository at this point in the history
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
  • Loading branch information
brcrista authored Dec 20, 2021
2 parents fdeec47 + 82388ea commit 424fc82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
uses: actions/checkout@v2

- name: Setup node 12
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 12
cache: npm

- name: npm install
run: npm install
Expand Down

1 comment on commit 424fc82

@moovy2
Copy link

@moovy2 moovy2 commented on 424fc82 Jan 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • name: Setup Go environment
    uses: actions/setup-go@v2.1.5

Please sign in to comment.