Skip to content

Commit

Permalink
👷 Added needs property
Browse files Browse the repository at this point in the history
  • Loading branch information
Schotsl committed Aug 20, 2024
1 parent ffa3408 commit 7180d7f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,46 @@ on:
- published

jobs:
quality:
name: Quality
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup latest Deno version
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x

- name: Check formatting with Deno
run: deno task format:check

- name: Check linting with Deno
run: deno task lint

test:
name: Test
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup latest Deno version
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x

- name: Run Deno test
run: deno task test

publish-npm:
name: Publish NPM
needs:
- quality
- test
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -35,6 +73,9 @@ jobs:

publish-jsr:
name: Publish JSR
needs:
- quality
- test
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit 7180d7f

Please sign in to comment.