20
20
node-version : [14]
21
21
steps :
22
22
- name : Get Yarn cache path
23
- id : yarn-cache
24
- run : echo "::set-output name=dir::$(yarn cache dir)"
23
+ id : yarn-cache
24
+ run : echo "::set-output name=dir::$(yarn cache dir)"
25
25
26
26
- name : Checkout
27
27
uses : actions/checkout@v2
@@ -32,12 +32,12 @@ jobs:
32
32
node-version : ${{ matrix.node-version }}
33
33
34
34
- name : Load Yarn cache
35
- uses : actions/cache@v2
36
- with :
37
- path : ${{ steps.yarn-cache.outputs.dir }}
38
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39
- restore-keys : |
40
- ${{ runner.os }}-yarn-
35
+ uses : actions/cache@v2
36
+ with :
37
+ path : ${{ steps.yarn-cache.outputs.dir }}
38
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-yarn-
41
41
42
42
- name : Install dependencies
43
43
run : yarn install --frozen-lockfile && yarn bootstrap
@@ -56,27 +56,27 @@ jobs:
56
56
bundlesize :
57
57
runs-on : ubuntu-latest
58
58
steps :
59
- - name : Get Yarn cache path
60
- id : yarn-cache
61
- run : echo "::set-output name=dir::$(yarn cache dir)"
59
+ - name : Get Yarn cache path
60
+ id : yarn-cache
61
+ run : echo "::set-output name=dir::$(yarn cache dir)"
62
62
63
- - name : Checkout
64
- uses : actions/checkout@master
63
+ - name : Checkout
64
+ uses : actions/checkout@master
65
65
66
- - name : Setup Node.js 14.x
67
- uses : actions/setup-node@master
68
- with :
69
- node-version : 14.x
66
+ - name : Setup Node.js 14.x
67
+ uses : actions/setup-node@master
68
+ with :
69
+ node-version : 14.x
70
70
71
- - name : Load Yarn cache
72
- uses : actions/cache@v2
73
- with :
74
- path : ${{ steps.yarn-cache.outputs.dir }}
75
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
76
- restore-keys : |
77
- ${{ runner.os }}-yarn-
78
- - name : compressed-size-action
79
- uses : preactjs/compressed-size-action@v2
80
- with :
81
- repo-token : " ${{ secrets.GITHUB_TOKEN }}"
82
- pattern : " **/dist/**/*.prod.js"
71
+ - name : Load Yarn cache
72
+ uses : actions/cache@v2
73
+ with :
74
+ path : ${{ steps.yarn-cache.outputs.dir }}
75
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
76
+ restore-keys : |
77
+ ${{ runner.os }}-yarn-
78
+ - name : compressed-size-action
79
+ uses : preactjs/compressed-size-action@v2
80
+ with :
81
+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
82
+ pattern : " **/dist/**/*.prod.js"
0 commit comments