From 974ee6af17808f3bc1996b388fbafb0fe316117a Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Mon, 27 May 2024 23:28:52 -0400 Subject: [PATCH] ci: add workflow to publish to NPM (#15) --- .github/workflows/publish.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..865e80b --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,11 @@ +name: Publish To NPM + +on: + push: + tags: ["*"] + +jobs: + npm: + uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main + secrets: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file