Minor fixes #132
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: Deno CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
deno-version: [1.33, 1.x] | |
timezone: ["Europe/Stockholm"] | |
steps: | |
- name: Git Checkout Deno Module | |
uses: actions/checkout@v3 | |
- name: Use Deno Version ${{ matrix.deno-version }} | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Test Deno Formatting | |
run: deno fmt --check | |
- name: Test Deno Linting | |
run: deno lint | |
- name: Test Deno Types | |
run: deno check main.ts | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: ${{ matrix.timezone }} | |
- name: Test Deno Module | |
run: deno test |