Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(runtimes): Deno with workarounds, but no pnpm #4966

Draft
wants to merge 7 commits into
base: janpio/deno-with-patch
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/test-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bash .github/scripts/print-version.sh "$pjson_path"
# Install deps for Slack scripts
echo "cd .github/slack/"
cd .github/slack/
pnpm install
#pnpm install
echo "cd ../.."
cd ../..

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1891,8 +1891,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'pnpm'
cache-dependency-path: ${{ github.job }}/${{ matrix.runtime }}/pnpm-lock.yaml
# cache: 'pnpm'
# cache-dependency-path: ${{ github.job }}/${{ matrix.runtime }}/pnpm-lock.yaml

- name: use deno v1.x
uses: denoland/setup-deno@v1
Expand All @@ -1902,8 +1902,8 @@ jobs:
- name: Define Client Engine Type to test
run: echo "PRISMA_CLIENT_ENGINE_TYPE=${{ matrix.clientEngine }}" >> $GITHUB_ENV

- name: Install Dependencies
run: pnpm install
# - name: Install Dependencies
# run: pnpm install

- name: test ${{ matrix.runtime }}
run: bash .github/scripts/test-project.sh ${{ github.job }} ${{ matrix.runtime }}
Expand Down
65 changes: 0 additions & 65 deletions runtimes/deno/pnpm-lock.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion runtimes/deno/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export PRISMA_TELEMETRY_INFORMATION='ecosystem-tests runtimes deno build'
# curl -fsSL https://deno.land/x/install/install.sh | sh
# alias deno='/home/gitpod/.deno/bin/deno'

deno --version
deno --version
1 change: 1 addition & 0 deletions runtimes/deno/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
set -eu

version=$( jq -r '.devDependencies.prisma' package.json )
rm package.json

deno run -A npm:prisma@$version generate
Loading