File tree Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -13,34 +13,31 @@ jobs:
1313
1414    runs-on : ubuntu-latest 
1515    steps :
16-       - uses : actions/checkout@v2 
17- 
1816      - uses : actions/setup-node@v2 
1917        with :
2018          node-version : 14 
2119
22-       - name : Restore node_modules 
23-         id : cache 
24-         uses : actions/cache@v2 
20+       - uses : actions/checkout@v2 
2521        with :
26-           path : node_modules 
27-           #  Bump the number after `lit-element-1.x-node-modules` to force a
28-           #  cache update. Note there are multiple cache actions in `tests.yml`
29-           #  that should all keep keys in sync.
30-           key : lit-element-1.x-node-modules-0-${{ runner.os }}-${{ hashFiles('package-lock.json') }} 
22+           path : lit-element 
3123
32-       - name : NPM install 
33-         if : steps.cache.outputs.cache-hit != 'true' 
34-         run : npm ci 
24+       - uses : actions/checkout@v2 
25+         with :
26+           path : benchmarks 
27+           repository : Polymer/benchmarks 
28+           ref : master 
3529
36-       - name : Build 
37-         run : npm run build 
30+       - name : Copy tachometer config 
31+         working-directory : ./benchmarks 
32+         run : cp ../lit-element/tachometer.json . 
3833
3934      - name : Benchmark 
35+         working-directory : ./benchmarks 
4036        run : npx tach --config tachometer.json --json-file results.json 
4137
4238      - name : Report 
4339        uses : andrewiggins/tachometer-reporter-action@v2 
40+         working-directory : ./benchmarks 
4441        with :
4542          path : results.json 
4643          pr-bench-name : this-change 
Original file line number Diff line number Diff line change 66  "benchmarks" : [
77    {
88      "name" : " shack"  ,
9-       "url" : " ./node_modules/lit-element-benchmarks/ shack/"  ,
9+       "url" : " ./shack/"  ,
1010      "browser" : {
1111        "name" : " chrome"  ,
1212        "headless" : true 
1818            "dependencies" : {
1919              "lit-element" : {
2020                "kind" : " git"  ,
21-                 "repo" : " ."  ,
21+                 "repo" : " .. "  ,
2222                "ref" : " HEAD"  ,
2323                "setupCommands" : [
2424                  " npm ci"  ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments