Skip to content

Commit

Permalink
Fix the Node and pnpm setup actions (#4394)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx authored Jun 2, 2023
1 parent 3cfb29a commit eac0a81
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ jobs:
test/requirements-37.txt
test/requirements.txt
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install Gradio
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
with:
python-version: '3.9'
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Check new pypi version
run: python scripts/check_pypi.py
- name: Install pnpm
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v2
with:
version: 7
- name: Install build tool dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.1
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: install dependencies
Expand All @@ -45,12 +45,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.1
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install Python
Expand Down

0 comments on commit eac0a81

Please sign in to comment.