ci: update workflows

- Replace build workflow with CI & fuzz
- Add GitHub & NPM release workflow
This commit is contained in:
ObserverOfTime
2025-05-09 10:18:25 +03:00
committed by Michael Hoffmann
parent c3172d7873
commit 009def4ae3
4 changed files with 121 additions and 33 deletions

28
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: release
on:
push:
tags: ["*"]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
permissions:
contents: write
id-token: write
attestations: write
jobs:
release:
uses: tree-sitter/workflows/.github/workflows/release.yml@main
with:
attestations: true
npm:
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
secrets:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
crates:
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
secrets:
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_TOKEN}}