Skip to content

Commit 91a8edb

Browse files
committed
chore: remove yarn dedupe from action
1 parent f74f21f commit 91a8edb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/polkadot-bump.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ jobs:
2222
- name: Yarn upgrade
2323
shell: bash
2424
run: |
25-
cd ./packages/hydra-indexer && npm upgrade @polkadot/api --latest
25+
cd ./packages/hydra-indexer && npm upgrade @polkadot/api --latest && rm -rf package-lock.json
2626
npm dedupe
27-
echo "::set-output name=POLKADOT_API_VERSION::$(cd "packages/hydra-indexer" && node -p "require('./package.json').dependencies['@polkadot/api']")"
27+
echo "::set-output name=POLKADOT_API_VERSION::$(cd "./packages/hydra-indexer" && node -p "require('./package.json').dependencies['@polkadot/api']")"
28+
yarn
2829
id: yarn_upgrade
2930

3031
- name: Create PR

0 commit comments

Comments
 (0)