Skip to content

Commit

Permalink
ci(NodeJs): Use install to use the cache [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Sep 11, 2021
1 parent 57bc75a commit 8ee4ef6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install semantic-release dependencies
if: steps.filter.outputs.node == 'true'
run: npm ci
run: npm install
- name: Release dry run
if: steps.filter.outputs.node == 'true'
run: npx semantic-release -d
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
run: npm install
- name: Notify about new dev release
run: node devRelease.js "${{ secrets.DISCORD_WEBHOOK }}" "${{ steps.devVersion.outputs.version }}" "${{env.GITHUB_REPOSITORY_OWNER_PART}}/${{env.GITHUB_REPOSITORY_NAME_PART}}"

Expand All @@ -160,6 +160,6 @@ jobs:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install semantic-release dependencies
run: npm ci
run: npm install
- name: Release
run: npx semantic-release

0 comments on commit 8ee4ef6

Please sign in to comment.