made it as simple as possible
This commit is contained in:
+4
-34
@@ -1,7 +1,7 @@
|
||||
# This workflow will install Deno and run tests across stable and nightly builds on Windows, Ubuntu and macOS.
|
||||
# For more information see: https://github.com/denolib/setup-deno
|
||||
|
||||
name: Deno CI
|
||||
name: Deno
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -10,15 +10,10 @@ on:
|
||||
branches: [$default-branch]
|
||||
|
||||
jobs:
|
||||
stable:
|
||||
name: Test on Deno Stable
|
||||
test:
|
||||
name: Test
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macOS-latest, windows-latest, ubuntu-latest]
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Setup repo
|
||||
@@ -34,28 +29,3 @@ jobs:
|
||||
|
||||
- name: Run Tests
|
||||
run: deno test -A --unstable
|
||||
|
||||
nightly:
|
||||
name: Test on Deno Nightly
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macOS-latest, windows-latest, ubuntu-latest]
|
||||
|
||||
steps:
|
||||
- name: Setup repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Deno
|
||||
uses: denolib/setup-deno@v2
|
||||
with:
|
||||
deno-version: nightly
|
||||
|
||||
- name: Cache Deps
|
||||
run: deno cache deps.ts
|
||||
|
||||
- name: Run tests
|
||||
run: deno-nightly test -A --unstable
|
||||
|
||||
Reference in New Issue
Block a user