Skip to content

Commit

Permalink
Switch to official setup-node action for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 10, 2023
1 parent 45c0701 commit e84124c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/first_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:
with:
path: .tox
key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-first-startup
- uses: mvdbeek/gha-yarn-cache@master
- uses: actions/setup-node@v3
with:
yarn-lock-file: 'galaxy root/client/yarn.lock'
node-version: '18.12.1'
cache: 'yarn'
cache-dependency-path: 'galaxy root/client/yarn.lock'
- name: Install tox
run: pip install tox
- name: run tests
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/integration_selenium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ jobs:
with:
path: 'galaxy root/.venv'
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration-selenium
- uses: mvdbeek/gha-yarn-cache@master
- uses: actions/setup-node@v3
with:
yarn-lock-file: 'galaxy root/client/yarn.lock'
node-version: '18.12.1'
cache: 'yarn'
cache-dependency-path: 'galaxy root/client/yarn.lock'
- uses: nanasess/setup-chromedriver@v1
- name: Run tests
run: ./run_tests.sh --coverage -integration test/integration_selenium
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
node: [18]
steps:
- uses: actions/checkout@v3
- name: Setup node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/js_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
node: [18]
steps:
- uses: actions/checkout@v3
- name: Setup node
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/reports_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ jobs:
with:
path: 'galaxy root/.venv'
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-reports-startup
- uses: mvdbeek/gha-yarn-cache@master
- uses: actions/setup-node@v3
with:
yarn-lock-file: 'galaxy root/client/yarn.lock'
node-version: '18.12.1'
cache: 'yarn'
cache-dependency-path: 'galaxy root/client/yarn.lock'
- name: Install tox
run: pip install tox
- name: Run tests
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/selenium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ jobs:
with:
path: 'galaxy root/.venv'
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-selenium
- uses: mvdbeek/gha-yarn-cache@master
- uses: actions/setup-node@v3
with:
yarn-lock-file: 'galaxy root/client/yarn.lock'
node-version: '18.12.1'
cache: 'yarn'
cache-dependency-path: 'galaxy root/client/yarn.lock'
- uses: nanasess/setup-chromedriver@v1
- name: Run tests
run: ./run_tests.sh --coverage -selenium lib/galaxy_test/selenium -- --num-shards=3 --shard-id=${{ matrix.chunk }}
Expand Down

0 comments on commit e84124c

Please sign in to comment.