mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Drop setup-node action where possible
Where we still use the action we don't install python dependencies.
This commit is contained in:
@@ -54,11 +54,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -37,11 +37,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- name: Clone galaxyproject/galaxy-test-data
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
|
||||
@@ -46,11 +46,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -37,11 +37,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
|
||||
@@ -49,11 +49,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -50,11 +50,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -58,11 +58,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -71,11 +71,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- name: Restore client cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
@@ -42,11 +42,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -35,11 +35,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- name: Cache pip dir
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
@@ -48,11 +48,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -32,11 +32,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
|
||||
@@ -57,11 +57,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -27,11 +27,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -43,11 +43,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -42,11 +42,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -31,11 +31,6 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat 'galaxy root/client/.node_version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'galaxy root/client/yarn.lock'
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@@ -60,7 +60,7 @@ install_requires =
|
||||
Markdown
|
||||
MarkupSafe
|
||||
mercurial>=6.8.2
|
||||
nodejs-wheel==22.13.0
|
||||
nodejs-wheel>=22,<23
|
||||
packaging
|
||||
paramiko!=2.9.0,!=2.9.1
|
||||
pebble
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ dependencies = [
|
||||
"mercurial>=6.8.2", # Python 3.13 support
|
||||
"mrcfile",
|
||||
"msal",
|
||||
"nodejs-wheel==22.13.0", # track client/.node_version
|
||||
"nodejs-wheel==22",
|
||||
"numpy>=1.26.0", # Python 3.12 support
|
||||
"numpy>=2.1.0 ; python_version>='3.10'", # Python 3.13 support
|
||||
"openpyxl>=3.1.5", # Minimum version ever tested with
|
||||
|
||||
Reference in New Issue
Block a user