Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 42c9441

Browse files
author
X
authored
chore: add github action for testing
1 parent 5ae56eb commit 42c9441

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/action.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# This workflow will install Deno and run tests across stable and nightly builds on Windows, Ubuntu and macOS.
7+
# For more information see: https://github.com/denolib/setup-deno
8+
9+
name: Aleph.js in Deno
10+
11+
on:
12+
push:
13+
branches: [master]
14+
pull_request:
15+
branches: [master]
16+
17+
jobs:
18+
test:
19+
runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS
20+
21+
strategy:
22+
matrix:
23+
deno: ["v1.x", "nightly"]
24+
os: [macOS-latest, windows-latest, ubuntu-latest]
25+
26+
steps:
27+
- name: Setup repo
28+
uses: actions/checkout@v2
29+
30+
- name: Setup Deno
31+
uses: denolib/setup-deno@c7d7968ad4a59c159a777f79adddad6872ee8d96
32+
with:
33+
deno-version: ${{ matrix.deno }} # tests across multiple Deno versions
34+
35+
- name: Cache Dependencies
36+
run: deno cache std.ts
37+
38+
- name: Run Tests
39+
run: deno test -A --unstable

0 commit comments

Comments
 (0)