This commit is contained in:
Luca Casonato
2024-09-03 10:36:21 +02:00
committed by GitHub
parent cce4306590
commit fa660b328d
6 changed files with 17 additions and 7 deletions

View File

@@ -26,7 +26,14 @@ jobs:
- name: Test Deno
run: deno run https://deno.land/std@0.198.0/examples/welcome.ts
- name: Test `deno install`
- name: Test `deno install -g` (2.0)
if: matrix.deno == 'canary' || matrix.deno == 'latest'
run: |
deno install -g --allow-net -n deno_curl https://deno.land/std@0.198.0/examples/curl.ts
deno_curl https://deno.land/std@0.198.0/examples/curl.ts
- name: Test `deno install (1.0)
if: matrix.deno == '1.x' || matrix.deno == '1.33.1' || matrix.deno == '~1.32' || matrix.deno == 'b290fd01f3f5d32f9d010fc719ced0240759c049'
run: |
deno install --allow-net -n deno_curl https://deno.land/std@0.198.0/examples/curl.ts
deno_curl https://deno.land/std@0.198.0/examples/curl.ts