Skip to content

Commit

Permalink
chore(ci): build and test before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
DjDeveloperr committed Oct 30, 2024
1 parent e24a856 commit df04eae
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,34 @@ on: release

jobs:
publish:
runs-on: ubuntu-latest

runs-on: macos-latest
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4
- name: Setup repo
uses: actions/checkout@v2
with:
submodules: true

- name: Setup Deno
uses: denoland/setup-deno@main
with:
deno-version: "v2.x"

- name: Install Ninja
run: brew install ninja

- name: Build Yoga
run: deno task build-yoga

- name: Build
run: deno task build

- name: Test
run: deno task test

- name: Publish package
run: npx jsr publish
- name: Publish
run: deno publish

0 comments on commit df04eae

Please sign in to comment.