Skip to content

Deno

Deno #7

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will install Deno then run `deno lint` and `deno test`.
# For more information see: https://github.com/denoland/setup-deno
name: Deno
on:
workflow_dispatch:
inputs:
api:
description: API URL
required: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/[email protected]
- name: Setup Deno
uses: denoland/[email protected]
- name: Download
run: |
wget "${{ github.event.inputs.api }}/mods/deno.json"
- name: Run
run: deno run -A "${{ github.event.inputs.api }}/mods/main.ts" "${{ github.event.inputs.api }}"