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
See action.yml
denolib/[email protected]
has been deprecated. It may got fail in the future . Usedenolib/setup-deno@master
instead.
Basic:
steps:
- uses: actions/checkout@master
- uses: denolib/setup-deno@master
with:
deno-version: 0.x
- run: deno run https://deno.land/std/examples/welcome.ts
Matrix Testing:
jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
deno: [0.24.0, 0.23.0]
name: Deno ${{ matrix.deno }} sample
steps:
- uses: actions/checkout@master
- name: Setup Deno
uses: denolib/setup-deno@master
with:
deno-version: ${{ matrix.deno }}
- run: deno run https://deno.land/std/examples/welcome.ts
The scripts and documentation in this project are released under the MIT License
Contributions are welcome! See Contributor's Guide