Skip to content

luca-rand/setup-deno

 
 

Repository files navigation

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

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@master
- uses: denolib/setup-deno@v1
  with:
    deno-version: 'v0.18.0'
- run: deno https://deno.land/welcome.ts

Matrix Testing:

jobs:
  build:
    runs-on: ubuntu-16.04
    strategy:
      matrix:
        deno: [ 'v0.18.0', 'v0.17.0' ]
    name: Deno ${{ matrix.deno }} sample
    steps:
      - uses: actions/checkout@master
      - name: Setup deno
        uses: denolib/setup-deno@v1
        with:
          deno-version: ${{ matrix.deno }}
      - run: deno https://deno.land/welcome.ts

License

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

Contributions

Contributions are welcome! See Contributor's Guide

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 63.2%
  • TypeScript 36.8%