generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (45 loc) · 1.19 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Test
on:
pull_request:
push:
jobs:
test:
name: test / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Run Tests
run: yarn test
run:
name: run / ${{ matrix.deno }}
runs-on: ubuntu-latest
strategy:
matrix:
deno: ['1', '1.23', '1.23.0', 'latest', '00f4521b205bf25c79f0fa7c9a6840941342bda4', 'canary']
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Run action
uses: ./
with:
deno-version: ${{ matrix.deno }}
- name: Deno version
run: deno --version
- name: Deno info
run: deno info
- name: Deno path
run: whereis deno
- name: Deno Install
run: |
deno install --allow-net -n deno_curl https://deno.land/std/examples/curl.ts
deno_curl https://deno.land/std/examples/curl.ts