Merge pull request #62 from shadowleafy/patch-2 #31
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
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Generate JSON language specification | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: node | |
- run: cd scripting && npm ci && npm start | |
- name: Add & Commit | |
uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
add: rawspec | |
default_author: github_actions | |
fetch: true | |
message: actions—generate JSON langspec |