github-profile-trophy-reiyu.../.github/workflows/testing.yml
Breno A 5aa2caf7c9
Refactor: code cleanup and xss fix (#270)
* fix: remove unnecessary xssable text

* chore: remove typo

* fix: ignored promise

* fix: imports can be summarized and the repository already has the typing

* fix: cleanup and remove domain

* chore: lint

* tests: `assert` is deprecated, replace to `with`

docs reference: https://lint.deno.land/rules/no-import-assertions

* ci: bump checkout and Deno

* chore: fix readme tags

* refactor: remove unnecessary constructor

* chore: remove import duplicate

* refactor: replace sort with toSorted

https://rules.sonarsource.com/typescript/RSPEC-4043/?search=Array-mutating%20methods%20should%20not%20be%20used%20misleadingly

* chore: format
2024-06-19 13:37:03 +09:00

30 lines
611 B
YAML

name: Check PR Test
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
install-dependencies:
runs-on: ubuntu-latest
strategy:
matrix:
deno-version: [1.43.6]
steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Deno format check
run: deno fmt --check
- name: Deno lint check
run: deno task lint
- name: Test Deno Module
run: deno task test