File tree Expand file tree Collapse file tree 1 file changed +19
-12
lines changed
Expand file tree Collapse file tree 1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ jobs:
1515 with :
1616 deno-version : v1.x
1717
18- - name : Check formatting
19- run : deno fmt --check
18+ # - name: Check formatting
19+ # run: deno fmt --check
2020
21- - name : Run linter
22- run : deno lint
21+ # - name: Run linter
22+ # run: deno lint
2323
24- - name : Run tests
25- env :
26- SERPAPI_TEST_KEY : ${{ secrets.SERPAPI_TEST_KEY }}
27- run : deno task test:ci
24+ # - name: Run tests
25+ # env:
26+ # SERPAPI_TEST_KEY: ${{ secrets.SERPAPI_TEST_KEY }}
27+ # run: deno task test:ci
2828
2929 - name : Setup Node
3030 uses : actions/setup-node@v3
@@ -35,11 +35,15 @@ jobs:
3535 - name : Test building of npm files
3636 run : deno task npm
3737
38+ - name : Zip build files
39+ run : zip npm.zip ./npm -r
40+
3841 - name : Upload build files for smoke tests
3942 uses : actions/upload-artifact@v3
4043 with :
4144 name : npm
42- path : npm/
45+ path : npm.zip
46+ retention-days : 3
4347
4448 smoke-tests :
4549 name : " Smoke tests for different Node.js versions"
@@ -62,10 +66,13 @@ jobs:
6266 uses : actions/download-artifact@v3
6367 with :
6468 name : npm
65-
69+
70+ - name : Unzip build files
71+ run : unzip npm.zip
72+
6673 - name : Run smoke tests
6774 run : |
6875 echo ${{ matrix.node-version }}
69- cd smoke
76+ cd tests/ smoke
7077 npm i
71- npm run esm
78+ npm run esm
You can’t perform that action at this time.
0 commit comments