-
Notifications
You must be signed in to change notification settings - Fork 58
41 lines (40 loc) · 1.14 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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:
rebuild-parser: true
secrets:
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}