Skip to content

v0.3.5

v0.3.5 #11

Workflow file for this run

name: Publish Packages
on:
release:
types: [published]
jobs:
npm-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
cargo-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
args: --allow-dirty
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
pypi-publish:
uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
with:
python-version: 3.11
generate: true
secrets:
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}