Skip to content

Commit

Permalink
fix: dont remove package-lock in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MellyGray committed Jul 7, 2023
1 parent 0fcd246 commit e6f2a43
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic-design-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sed -i -e 's/<YOUR_GITHUB_AUTH_TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' .npmrc
- name: Install dependencies
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
run: rm package-lock.json && npm install
run: npm install
- name: Build Dataverse Design System
working-directory: packages/design-system
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
sed -i -e 's/<YOUR_GITHUB_AUTH_TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' .npmrc
- name: Install dependencies
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
run: rm package-lock.json && npm install
run: npm install
# 👇 Adds Chromatic as a step in the workflow
# Install design system dependencies
- name: Build Dataverse Design System
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
sed -i -e 's/<YOUR_GITHUB_AUTH_TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' .npmrc
- name: Install Dependencies
run: rm package-lock.json && npm install
run: npm install

- name: Build Dataverse UI Library
working-directory: packages/design-system
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# cache: 'npm'

# - name: Install Dependencies
# run: rm package-lock.json && npm install
# run: npm install

# - name: Build Dataverse Design System
# working-directory: packages/design-system
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
sed -i -e 's/<YOUR_GITHUB_AUTH_TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' .npmrc
- name: Install Dependencies
run: rm package-lock.json && npm install
run: npm install

- name: Build Dataverse Design System
working-directory: packages/design-system
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
sed -i -e 's/<YOUR_GITHUB_AUTH_TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' .npmrc
- name: Install Dependencies
run: rm package-lock.json && npm install
run: npm install

- name: Build Dataverse Design System
working-directory: packages/design-system
Expand Down

0 comments on commit e6f2a43

Please sign in to comment.