Skip to content

Commit dbb7d23

Browse files
committed
sync build and lint deps, share node cache
1 parent 3944ca5 commit dbb7d23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/job.test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ jobs:
7171
miniforge-variant: Mambaforge
7272
use-mamba: true
7373

74-
- name: 'Revert templated file (TODO: remove)'
75-
run: git checkout requirements/github-actions.yml
76-
7774
- name: Install linting dependencies
7875
run: mamba env update -n test --file requirements/lint.yml
7976

@@ -86,7 +83,7 @@ jobs:
8683
with:
8784
path: '**/node_modules'
8885
key: |
89-
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node-lint-${{ hashFiles('yarn.lock', 'requirements/github-actions.yml') }}
86+
${{ env.CACHE_EPOCH }}-${{ runner.os }}-node-build-${{ hashFiles('yarn.lock', 'requirements/github-actions.yml') }}
9087
9188
- name: Cache yarn packages
9289
id: cache-yarn-packages
@@ -113,6 +110,9 @@ jobs:
113110
- name: Lint backend
114111
run: python scripts/lint.py
115112

113+
- name: 'Revert templated file (TODO: remove)'
114+
run: git checkout requirements/github-actions.yml
115+
116116
- name: Lint frontend
117117
run: jlpm lint:check
118118

@@ -127,6 +127,7 @@ jobs:
127127
os: [ubuntu]
128128
nodejs: ['>=14,<15.0.0a0']
129129
lab: ['>=3.0.0,<4.0.0a0']
130+
r: ['>=4']
130131
steps:
131132
- uses: actions/checkout@v2
132133

0 commit comments

Comments
 (0)