Files

40 lines
981 B
YAML
Raw Permalink Normal View History

2020-07-24 01:31:50 +05:30
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
2021-07-26 13:22:45 -04:00
# This workflow will install Deno then run Deno lint and test.
# For more information see: https://github.com/denoland/setup-deno
2020-07-24 01:13:53 +05:30
2020-07-24 01:30:01 +05:30
name: Deno
2020-07-24 01:13:53 +05:30
on:
push:
branches: [$default-branch]
pull_request:
branches: [$default-branch]
jobs:
2020-07-24 01:30:01 +05:30
test:
2021-07-26 13:22:45 -04:00
runs-on: ubuntu-latest
2020-07-24 01:13:53 +05:30
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
# uses: denoland/setup-deno@v1
2021-07-26 13:22:45 -04:00
uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e9833173669
2020-07-24 01:13:53 +05:30
with:
2021-07-26 13:22:45 -04:00
deno-version: v1.x
2020-07-24 01:13:53 +05:30
# Uncomment this step to verify the use of 'deno fmt' on each commit.
# - name: Verify formatting
# run: deno fmt --check
- name: Run linter
run: deno lint
- name: Run tests
2020-07-24 01:13:53 +05:30
run: deno test -A --unstable