-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1017 Bytes
/
staging.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
name: Staging CI
run-name: Staging - Deno ${{ github.event.inputs.deno }} / ${{ github.event.inputs.os }} by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
deno:
description: 'Deno version'
required: true
default: 'v2.x'
os:
description: 'Operating System (ubuntu-20.04, ubuntu-latest, windows-latest)'
required: true
default: 'ubuntu-latest'
deno-flag:
description: 'Deno flag (e.g. --unstable)'
required: false
default: ''
jobs:
test:
name: Test - Deno ${{ github.event.inputs.deno }} on ${{ github.event.inputs.os }}
runs-on: ${{ github.event.inputs.os }}
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: ${{ github.event.inputs.deno }}
- run: deno task test ${{ github.event.inputs.deno-flag }}