mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-12-13 13:07:16 +00:00
Add step to remove dist/ directory before installing dependencies
This commit is contained in:
4
.github/workflows/check-dist.yml
vendored
4
.github/workflows/check-dist.yml
vendored
@@ -39,6 +39,10 @@ jobs:
|
|||||||
node-version-file: .node-version
|
node-version-file: .node-version
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
|
- name: Remove dist/ Directory
|
||||||
|
id: remove-dist
|
||||||
|
run: npx rimraf ./dist
|
||||||
|
|
||||||
# Install dependencies using `npm ci`.
|
# Install dependencies using `npm ci`.
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
id: install
|
id: install
|
||||||
|
|||||||
Reference in New Issue
Block a user