We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a49d8 commit 0f47de4Copy full SHA for 0f47de4
.github/workflows/ci.yml
@@ -34,7 +34,7 @@ jobs:
34
strategy:
35
matrix:
36
node-version: [18.x, 20.x]
37
- suite: [commonjs, esm, typescript]
+ suite: [commonjs, esm, typescript, cloudflare-worker]
38
# See supported Node.js release schedule at https://nodejs.org/en/about/previous-releases
39
40
env:
@@ -49,6 +49,8 @@ jobs:
49
cache: "npm"
50
# Build a production tarball and run the integration tests against it.
51
- run: |
52
+ test "${{ matrix.suite }}" = "cloudflare-worker" && echo "REPLICATE_API_TOKEN=${{ secrets.REPLICATE_API_TOKEN }}" > .dev.vars
53
PKG_TARBALL=$(npm --loglevel error pack)
54
+ npm --prefix integration/${{ matrix.suite }} install-clean
55
npm --prefix integration/${{ matrix.suite }} install "file:/./$PKG_TARBALL"
56
npm --prefix integration/${{ matrix.suite }} test
0 commit comments