Skip to content

Eliminated jsonlines dependency in favour of built in types #155

Eliminated jsonlines dependency in favour of built in types

Eliminated jsonlines dependency in favour of built in types #155

Workflow file for this run

name: Verify
on:
push:
branches: main
pull_request:
branches: main
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: deno fmt --check
- run: deno lint
- run: deno test --allow-net --allow-read --allow-write
diff:
name: Generate Job Matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.diff.outputs.all_modified_files }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
fetch-tags: true
- name: Get changed files
id: diff
uses: tj-actions/changed-files@v45
with:
json: true
dir_names: true
- run: echo "Changes detected in ${{ steps.diff.outputs.all_modified_files }}"
jsr:
name: Verify ${{ matrix }} is publishable to JSR
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
needs: [diff]
strategy:
fail-fast: false
max-parallel: 6
matrix: ${{needs.diff.outputs.matrix}}
steps:
- uses: actions/[email protected]
- uses: denoland/setup-deno@v2
- run: deno publish --dry-run
working-directory: ${{ matrix.workspace }}