Skip to content

fix(preview): load asciidoc grammar (#49) #51

fix(preview): load asciidoc grammar (#49)

fix(preview): load asciidoc grammar (#49) #51

name: release-please
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
id-token: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "npm"
registry-url: "https://registry.npmjs.org"
- name: Build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm ci
npm run build
npm publish --provenance --access public