Skip to content

feat: Detect if the user is using npm and set import accordingly #49

feat: Detect if the user is using npm and set import accordingly

feat: Detect if the user is using npm and set import accordingly #49

Workflow file for this run

name: Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup latest deno version
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run deno fmt
run: deno fmt --check
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup latest deno version
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run deno lint
run: deno lint
check:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup latest deno version
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run deno check main.ts
run: deno check main.ts
test:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup latest deno version
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run deno test
run: deno test -A