Skip to content

Commit

Permalink
Merge pull request #17 from alisaitteke/develop
Browse files Browse the repository at this point in the history
chore(workflows): add clean install steps to remove node_modules and …
  • Loading branch information
alisaitteke authored Nov 23, 2024
2 parents 3d76895 + 876da03 commit 36f3c71
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,12 @@ jobs:
with:
node-version: 20
cache: 'npm'
- run: npm ci
# Clean install to fix rollup issue
- name: Clean dependencies
run: |
rm -rf node_modules package-lock.json
- name: Install dependencies
run: npm ci
- run: npm run typecheck
- run: npm run lint
- run: npm run build
@@ -33,6 +38,10 @@ jobs:
registry-url: https://npm.pkg.github.com
cache: 'npm'

- name: Clean dependencies
run: |
rm -rf node_modules package-lock.json
- name: Install dependencies
run: npm ci

@@ -70,6 +79,10 @@ jobs:
registry-url: https://registry.npmjs.org
cache: 'npm'

- name: Clean dependencies
run: |
rm -rf node_modules package-lock.json
- name: Install dependencies
run: npm ci

0 comments on commit 36f3c71

Please sign in to comment.