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.
|
# 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
|
# For more information see: https://github.com/denolib/setup-deno
|
||||||
|
|
||||||
name: Deno CI
|
name: Deno
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -10,15 +10,10 @@ on:
|
|||||||
branches: [$default-branch]
|
branches: [$default-branch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stable:
|
test:
|
||||||
name: Test on Deno Stable
|
name: Test
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [macOS-latest, windows-latest, ubuntu-latest]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup repo
|
- name: Setup repo
|
||||||
@@ -34,28 +29,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: deno test -A --unstable
|
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