@@ -14,10 +14,11 @@ jobs:
1414 child-workspace-package-names : ${{ steps.workspace-package-names.outputs.child-workspace-package-names }}
1515 steps :
1616 - name : Checkout and setup environment
17- uses : MetaMask/action-checkout-and-setup@v1
17+ uses : MetaMask/action-checkout-and-setup@v2
1818 with :
1919 is-high-risk-environment : false
20- cache-node-modules : ${{ matrix.node-version == '22.x' }}
20+ cache-node-modules : true
21+ node-version : ${{ matrix.node-version }}
2122 - name : Fetch workspace package names
2223 id : workspace-package-names
2324 run : |
3334 node-version : [22.x]
3435 steps :
3536 - name : Checkout and setup environment
36- uses : MetaMask/action-checkout-and-setup@v1
37+ uses : MetaMask/action-checkout-and-setup@v2
3738 with :
3839 is-high-risk-environment : false
40+ node-version : ${{ matrix.node-version }}
3941 - run : yarn lint
4042 - name : Require clean working directory
4143 shell : bash
5557 package-name : ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }}
5658 steps :
5759 - name : Checkout and setup environment
58- uses : MetaMask/action-checkout-and-setup@v1
60+ uses : MetaMask/action-checkout-and-setup@v2
5961 with :
6062 is-high-risk-environment : false
63+ node-version : ${{ matrix.node-version }}
6164 - run : yarn workspace ${{ matrix.package-name }} changelog:validate
6265 - name : Require clean working directory
6366 shell : bash
7679 node-version : [22.x]
7780 steps :
7881 - name : Checkout and setup environment
79- uses : MetaMask/action-checkout-and-setup@v1
82+ uses : MetaMask/action-checkout-and-setup@v2
8083 with :
8184 is-high-risk-environment : false
85+ node-version : ${{ matrix.node-version }}
8286 - run : yarn build
8387 - name : Require clean working directory
8488 shell : bash
@@ -98,9 +102,10 @@ jobs:
98102 package-name : ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }}
99103 steps :
100104 - name : Checkout and setup environment
101- uses : MetaMask/action-checkout-and-setup@v1
105+ uses : MetaMask/action-checkout-and-setup@v2
102106 with :
103107 is-high-risk-environment : false
108+ node-version : ${{ matrix.node-version }}
104109 - run : yarn test:scripts
105110 - run : yarn workspace ${{ matrix.package-name }} run test
106111 - name : Require clean working directory
0 commit comments