Skip to content

Commit

Permalink
♻ Separate workflows for tests and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rnbsov committed Mar 9, 2024
1 parent b6937ef commit 93f3b8e
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/deno.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deno lint

on: [push, pull_request]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Run linter
run: deno lint
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deno tests

on: [push, pull_request]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Run tests
run: deno test -A

0 comments on commit 93f3b8e

Please sign in to comment.