Skip to content

Commit 3e9fe0e

Browse files
committed
Add package-lock.json file
1 parent ba3c1e3 commit 3e9fe0e

File tree

2 files changed

+408
-0
lines changed

2 files changed

+408
-0
lines changed

.github/workflows/publish.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish packages
2+
3+
on:
4+
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
5+
push:
6+
tags: ["*"]
7+
8+
permissions:
9+
contents: write
10+
id-token: write
11+
attestations: write
12+
13+
jobs:
14+
github:
15+
uses: tree-sitter/workflows/.github/workflows/release.yml@main
16+
with:
17+
generate: true
18+
attestations: true
19+
npm:
20+
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
21+
secrets:
22+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
23+
with:
24+
generate: true
25+
# crates:
26+
# uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
27+
# secrets:
28+
# CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
29+
# with:
30+
# generate: true
31+
# pypi:
32+
# uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
33+
# secrets:
34+
# PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}
35+
# with:
36+
# generate: true

0 commit comments

Comments
 (0)