Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play-circle

GitHub Action

Setup Deno

v1.1.2

Setup Deno

play-circle

Setup Deno

Setup Deno by installing, downloading, and adding it to the path

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Deno

uses: denoland/setup-deno@v1.1.2

Learn more about this action in denoland/setup-deno

Choose a version

setup-deno

Set up your GitHub Actions workflow with a specific version of Deno.

Usage

Latest stable for a major

- uses: denoland/setup-deno@v1
  with:
    deno-version: v1.x

Latest stable for any major

Targets the latest major, minor and patch version of Deno.

- uses: denoland/setup-deno@v1
  with:
    deno-version: vx.x.x

Specific stable

- uses: denoland/setup-deno@v1
  with:
    deno-version: "1.8.2"

Semver range

- uses: denoland/setup-deno@v1
  with:
    deno-version: "~1.7"

Latest canary

- uses: denoland/setup-deno@v1
  with:
    deno-version: canary

Specific canary

- uses: denoland/setup-deno@v1
  with:
    deno-version: e7b7129b7a92b7500ded88f8f5baa25a7f59e56e