fix: call init
when the module is imported and not when we call the csp
function
#90
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.44.4 | |
- name: Check formatting | |
run: deno fmt src/ --ignore=src/vendor --check | |
- name: Test Deno | |
run: deno test --allow-all |