fix: correct constraint usage in parser and lexer definitions (#65) #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Deploy JS Parser | |
| on: | |
| push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Setup Node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 19 | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Install ANTLR4 | |
| run: | | |
| make dev | |
| make js_parser | |
| - name: Generate and Build Node Code | |
| run: cd js && npm install && npm run build-grammar | |
| - name: Publish npm package | |
| run: cd js && npm publish --access public | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |