Skip to content

Commit de3faac

Browse files
ci: fix workflow for installing deps
1 parent a9ee92a commit de3faac

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: pnpm/action-setup@v2
2828
name: Install pnpm
2929
with:
30-
version: 8
30+
version: 10
3131
run_install: false
3232

3333
- name: Install Node.js
@@ -38,18 +38,6 @@ jobs:
3838
registry-url: ${{ matrix.registry.url }}
3939
scope: '@invoke-ai'
4040

41-
# TODO: remove when https://github.com/pnpm/pnpm/issues/7579 is resolved
42-
- name: Reinstall @invoke-ai packages
43-
shell: bash
44-
run: |
45-
VERSION_ESLINT=$(node -p "require('./package.json').devDependencies['@invoke-ai/eslint-config-react']")
46-
VERSION_PRETTIER=$(node -p "require('./package.json').devDependencies['@invoke-ai/prettier-config-react']")
47-
48-
pnpm uninstall @invoke-ai/eslint-config-react @invoke-ai/prettier-config-react
49-
pnpm install --ignore-scripts -D @invoke-ai/eslint-config-react@$VERSION_ESLINT -D @invoke-ai/prettier-config-react@$VERSION_PRETTIER
50-
env:
51-
NODE_AUTH_TOKEN: ${{ secrets[matrix.registry.token_secret] }}
52-
5341
- name: Install dependencies
5442
run: pnpm install --frozen-lockfile --ignore-scripts
5543
env:

0 commit comments

Comments
 (0)