Skip to content

Commit

Permalink
ci: replaces npm ci npm install in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
anguspiv committed Dec 24, 2024
1 parent e9a52e1 commit 2712cbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
${{ runner.os }}-node-modules-
- name: Install dependencies
run: npm ci
run: npm install

- name: Lint
run: npm run lint
Expand All @@ -43,11 +43,10 @@ jobs:
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
restore-keys: ${{ runner.os }}-node-modules-

- name: Install dependencies
run: npm ci
run: npm install

- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
${{ runner.os }}-node-modules-
- name: Install dependencies
run: npm ci
run: npm install

- name: Run Semantic Release
run: npx semantic-release
Expand Down

0 comments on commit 2712cbd

Please sign in to comment.