Refactor client creation and request function #6
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 Test | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "**/*.ts" | |
pull_request: | |
branches: [main] | |
paths: | |
- "**/*.ts" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: run tests | |
run: deno test --allow-net --allow-env --allow-read --allow-write | |
working-directory: ./ |