fix crash on signature help (#110) #55
This file contains 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: Publish react-editor-experimental package to npm | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ['main'] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
jobs: | |
deploy: | |
environment: publish-npm | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Setup antlr4 | |
uses: ./.github/actions/setup-antlr4 | |
- name: Install dependencies with frozen lock file and generate parser | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Publish on updated version number | |
uses: JS-DevTools/npm-publish@v2 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
package: 'packages/react-codemirror-experimental/package.json' | |
access: 'restricted' |