Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: ci | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
build: | ||
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
deno_version: ['v0.36.0', 'v0.35.0'] | ||
|
||
steps: | ||
- name: Configure git | ||
run: git config --global core.symlinks true | ||
|
||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Configure environment variable's | ||
run: | | ||
echo "::set-env name=DENO_INSTALL::$HOME/.local" | ||
echo "::add-path::$HOME/.local/bin" | ||
- name: Install deno ${{ matrix.deno_version }} | ||
run: | | ||
curl -fsSL https://deno.land/x/install/install.sh | sh -s ${{ matrix.deno_version }} | ||
deno -h | ||
- name: Run test's | ||
run: deno test --allow-env |