Set up your GitHub Actions workflow with a specific version of deno
This action sets up deno environment for use in actions by:
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
The scripts and documentation in this project are released under the MIT License
Contributions are welcome! See Contributor's Guide