Skip to content

Commit

Permalink
add github action npm cache
Browse files Browse the repository at this point in the history
  • Loading branch information
devo1929 committed Jul 1, 2023
1 parent 989d454 commit 3ae78de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@ jobs:
with:
fetch-depth: 0 # required for gitversion

- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: tools/package-lock.json

- name: Install Tools NPM Libs
working-directory: tools
run: npm install
run: npm ci

# This step validates the format of the tag created, if this was a published release.
# Currently, it must be in the format "yr-X.Y" or "yr-X.Y.Z"
Expand Down

0 comments on commit 3ae78de

Please sign in to comment.