Skip to content

Commit

Permalink
chore: add ci and publish workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nberlette committed Oct 31, 2024
1 parent 9c7bb85 commit 167cab4
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
tag:
- '*'

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- uses: denoland/setup-deno@v2
with:
deno-version: v2.x

- run: deno test -A --permit-no-files --parallel --no-check=remote

- run: deno fmt --check

- run: deno lint
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- run: npx jsr publish --provenance

0 comments on commit 167cab4

Please sign in to comment.