Skip to content

test

test #9

Workflow file for this run

name: Publish Packages
on:
push:
branch: publish-fixes-test
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: DerekStride/tree-sitter-workflows/.github/workflows/package-pypi.yml@test-rebuild
with:
python-version: 3.11
generate: true
secrets:
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}