File tree Expand file tree Collapse file tree 1 file changed +6
-22
lines changed Expand file tree Collapse file tree 1 file changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -10,38 +10,22 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
12
12
steps :
13
- - name : Checkout
14
- uses : actions/checkout@v4
13
+ - uses : actions/checkout@v4
15
14
16
- - name : Determine Yarn Cache Path
17
- id : yarn-cache-dir-path
18
- run : echo "::set-output name=dir::$(yarn cache dir)"
15
+ - run : corepack enable
19
16
20
- - uses : actions/cache@v4
21
- id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
17
+ - uses : actions/setup-node@v4
22
18
with :
23
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
24
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25
- restore-keys : |
26
- ${{ runner.os }}-yarn-
27
-
28
- - name : Setup Node.js 18.x to publish to npmjs.org
29
- uses : actions/setup-node@v4
30
- with :
31
- node-version : " 18.x"
32
- registry-url : " https://registry.npmjs.org"
19
+ node-version : 22
20
+ cache : yarn
21
+ cache-dependency-path : " **/yarn.lock"
33
22
34
23
- name : Install Packages
35
24
run : yarn install --frozen-lockfile
36
25
37
26
- name : Build
38
27
run : yarn build
39
28
40
- - name : Test
41
- run : yarn test --runInBand=false --maxWorkers=2 --workerIdleMemoryLimit=1700MB # https://github.com/facebook/jest/issues/11956
42
- env :
43
- CI : true
44
-
45
29
- name : Generate Release Body
46
30
run : npx extract-changelog-release > RELEASE_BODY.md
47
31
You can’t perform that action at this time.
0 commit comments