Need help with setup-deno?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

denolib
175 Stars 17 Forks MIT License 56 Commits 3 Opened issues

Description

Set up your GitHub Actions workflow with a specific version of deno

Services available

!
?

Need anything else?

Contributors list

setup-deno

GitHub Actions status

This action sets up deno environment for use in actions by:

  • optionally downloading and caching a version of deno - versioned and add to PATH
  • registering problem matchers for error output

Usage

See action.yml

Basic:

steps:
  - uses: actions/[email protected]
  - uses: denolib/[email protected]
    with:
      deno-version: v1.x
  - run: |
      deno --version
      deno run https://deno.land/std/examples/welcome.ts
      deno install --allow-read -n deno_cat https://deno.land/std/examples/cat.ts
      deno_cat ./README.md

Matrix Testing:

jobs:
  build:
    runs-on: ubuntu-16.04
    strategy:
      matrix:
        deno: ["v1.0.0", "v0.42.0", "v1.x", "v0.x", "nightly"]
    name: Deno ${{ matrix.deno }} sample
    steps:
      - uses: actions/[email protected]
      - name: Setup Deno
        uses: denolib/[email protected]
        with:
          deno-version: ${{ matrix.deno }}
      - run: |
          deno --version
          deno run https://deno.land/std/examples/welcome.ts

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.