generated from TypeScriptPlayground/Template
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 758 Bytes
/
test.yml
File metadata and controls
36 lines (28 loc) · 758 Bytes
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
name: Run Unit Tests
on:
push:
branches:
- "main"
workflow_dispatch:
permissions:
contents: read
checks: write
jobs:
test:
name: Unit Test
runs-on: ubuntu-latest
env:
deno-version: v1.x
steps:
- name: Setup Repository (${{github.event.repository.name}})
uses: actions/checkout@v4
- name: Setup Deno (${{env.deno-version}})
uses: denoland/setup-deno@v1
with:
deno-version: ${{env.deno-version}}
- name: Run Tests
run: deno test -A --unstable --check --reload --doc --allow-none --junit-path="./report.xml"
- name: Generate jUnit Report
uses: mikepenz/action-junit-report@v3.8.0
with:
report_paths: 'report.xml'