Skip to content

Commit

Permalink
chore(ci): add ci github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Mar 18, 2020
1 parent 54603d8 commit 410383a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
@@ -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

0 comments on commit 410383a

Please sign in to comment.