File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 34
34
key : yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }}-${{ matrix.node-version }}
35
35
- name : Install Yarn dependencies
36
36
run : yarn --immutable
37
+ - uses : legobeat/npm-actions/publish@dev-multi
38
+ id : local-publish
39
+ - name : Cache package registry
40
+ uses : actions/cache@v3
41
+ with :
42
+ path : /home/runner/work/_temp/_github_home/registry-data
43
+ key : yarn-cache-${{ steps.local-publish.outputs.package-name }}-${{ steps.local-publish.outputs.package-shasum }}
37
44
build :
38
45
name : Build
39
46
runs-on : ubuntu-latest
@@ -67,16 +74,20 @@ jobs:
67
74
runs-on : ubuntu-latest
68
75
needs :
69
76
- prepare
77
+ strategy :
78
+ matrix :
79
+ node-version : [18.x, 20.x]
70
80
steps :
71
81
- uses : actions/checkout@v3
72
- - uses : legobeat/npm-actions/publish@dev-multi
73
- id : local-publish
74
- - name : Cache package registry
82
+ - name : Resture package registry cache
75
83
uses : actions/cache@v3
76
84
with :
77
85
path : /home/runner/work/_temp/_github_home/registry-data
78
86
key : yarn-cache-${{ steps.local-publish.outputs.package-name }}-${{ steps.local-publish.outputs.package-shasum }}
79
87
- uses : legobeat/npm-actions/compat-test@dev-multi
88
+ name : ' Install package as dependency using Node.js ${{ matrix.node-version }}'
89
+ with :
90
+ node-version : ${{ matrix.node-version }}
80
91
- name : Require clean working directory
81
92
shell : bash
82
93
run : |
You can’t perform that action at this time.
0 commit comments