Skip to content

use correct json path #278

use correct json path

use correct json path #278

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will install Deno then run `deno lint` and `deno test`.
# For more information see: https://github.com/denoland/setup-deno
name: Deno
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
# verify the use of 'deno fmt' on each commit.
- name: Verify formatting
run: deno task check-format
- name: Run linter
run: deno task check-types
- name: Run tests
run: |
## fix for fetch tool tests - set apparmor_restrict_unprivileged_userns
## https://github.com/lino-levan/astral#faq
## https://github.com/puppeteer/puppeteer/pull/13196
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
deno --version
deno task test