chore: support deno 2.0 by shimming __dirname as import.meta.dirname & __filename as import.meta.filename #11
Workflow file for this run
This file contains hidden or 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: check | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denolib/setup-deno@v2 | |
with: | |
deno-version: v1.x | |
- name: Run deno fmt | |
run: deno fmt --check opus.ts | |
- name: Run deno lint | |
run: deno lint --unstable opus.ts |