File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 34
34
strategy :
35
35
matrix :
36
36
node-version : [18.x, 20.x]
37
- suite : [commonjs, esm, typescript]
37
+ suite : [commonjs, esm, typescript, cloudflare-worker ]
38
38
# See supported Node.js release schedule at https://nodejs.org/en/about/previous-releases
39
39
40
40
env :
49
49
cache : " npm"
50
50
# Build a production tarball and run the integration tests against it.
51
51
- run : |
52
+ test "${{ matrix.suite }}" = "cloudflare-worker" && echo "REPLICATE_API_TOKEN=${{ secrets.REPLICATE_API_TOKEN }}" > integration/${{ matrix.suite }}/.dev.vars
52
53
PKG_TARBALL=$(npm --loglevel error pack)
54
+ npm --prefix integration/${{ matrix.suite }} install
53
55
npm --prefix integration/${{ matrix.suite }} install "file:/./$PKG_TARBALL"
54
56
npm --prefix integration/${{ matrix.suite }} test
You can’t perform that action at this time.
0 commit comments