Skip to content

Commit

Permalink
publish @derekstride/tree-sitter-sql npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekStride committed Nov 9, 2023
1 parent 764c1bd commit 3732bee
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 23 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to NPM
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 21
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public.
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31 changes: 9 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tree-sitter-sql",
"name": "@derekstride/tree-sitter-sql",
"version": "0.1.0",
"description": "Tree-sitter Grammar for SQL",
"main": "bindings/node",
Expand Down Expand Up @@ -32,7 +32,17 @@
"scope": "source.sql",
"file-types": [
"sql"
],
"highlights": [
"queries/highlights.scm"
],
"indents": [
"queries/indents.scm"
]
}
],
"keywords": [
"parser",
"sql"
]
}

0 comments on commit 3732bee

Please sign in to comment.