feat: add media types utility module #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push, pull_request] | |
jobs: | |
deno: | |
name: oak-commons-${{ matrix.os }} | |
if: | | |
github.event_name == 'push' || | |
!startsWith(github.event.pull_request.head.label, 'oakserver:') | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
env: | |
GH_ACTIONS: 1 | |
steps: | |
- name: ☑️ clone repository | |
uses: actions/checkout@v2 | |
- name: ➡️ install Deno | |
uses: denoland/[email protected] | |
with: | |
deno-version: 1.x | |
- name: 💄 format | |
run: deno fmt --check | |
- name: 💄 lint | |
run: deno lint | |
- name: 🧪 test | |
run: deno test |