Commit 3f73407 authored May 29, 2024 Verified
File tree 4 files changed +22
-17
lines changed
4 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,17 @@ jobs:
25
25
with :
26
26
cmd : install --frozen-lockfile
27
27
28
- - name : Run tests
29
- uses : borales/actions-yarn@v4
30
- with :
31
- cmd : test
28
+ - name : Run test manually
29
+ run : |
30
+ cd packages/faro-rollup/src/test
31
+ yarn install
32
+ cd ../..
33
+ yarn install
34
+ cd ../faro-webpack/src/test
35
+ yarn install
36
+ yarn build
37
+ cd ../../..
38
+ yarn test
32
39
33
40
- name : Build production bundle
34
41
uses : borales/actions-yarn@v4
Original file line number Diff line number Diff line change @@ -13,27 +13,25 @@ jobs:
13
13
ref : ${{ github.event.pull_request.head.ref }}
14
14
fetch-depth : 0
15
15
16
- - name : Install dependencies
17
- uses : borales/actions-yarn@v5
18
- with :
19
- cmd : install --frozen-lockfile
20
-
21
16
- name : Setup NPM
22
17
uses : actions/setup-node@v3
23
18
with :
24
- node-version : 18 .x
19
+ node-version : 19 .x
25
20
registry-url : " https://registry.npmjs.org"
26
21
22
+ - name : Install dependencies
23
+ uses : borales/actions-yarn@v5
24
+ with :
25
+ cmd : install --frozen-lockfile
26
+
27
27
- name : Run test manually
28
28
run : |
29
- yarn install --frozen-lockfile
30
- yarn build
31
29
cd packages/faro-rollup/src/test
32
- yarn install --pure-lockfile
30
+ yarn install
33
31
cd ../..
34
- yarn install --pure-lockfile
32
+ yarn install
35
33
cd ../faro-webpack/src/test
36
- yarn install --pure-lockfile
34
+ yarn install
37
35
yarn build
38
36
cd ../../..
39
37
yarn test
Original file line number Diff line number Diff line change 20
20
"ava" : " ^3.8.1"
21
21
},
22
22
"dependencies" : {
23
- "@grafana/faro-bundlers-shared" : " ^ 0.0.13 " ,
23
+ "@grafana/faro-bundlers-shared" : " ~ 0.0" ,
24
24
"cross-fetch" : " ^4.0.0" ,
25
25
"magic-string" : " ^0.30.5" ,
26
26
"rollup" : " ^4.1.1"
Original file line number Diff line number Diff line change 17
17
"test" : " ava src/index.test.js"
18
18
},
19
19
"dependencies" : {
20
- "@grafana/faro-bundlers-shared" : " ^ 0.0.13 " ,
20
+ "@grafana/faro-bundlers-shared" : " ~ 0.0" ,
21
21
"@rollup/plugin-babel" : " ^6.0.4" ,
22
22
"@rollup/plugin-node-resolve" : " ^15.2.3" ,
23
23
"cross-fetch" : " ^4.0.0" ,
You can’t perform that action at this time.
0 commit comments