Skip to content

Publish NPM

Publish NPM #311

Workflow file for this run

name: Publish NPM
on:
release:
types: [created]
permissions: write-all
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: revolist/revogrid-actions
ref: main
path: ./actions
token: ${{ secrets.REPO_TOKEN }}
- name: Release grid new version
uses: ./actions/release-grid
with:
token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
update_submodules:
needs: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: revolist/revogrid-actions
ref: main
path: ./actions
token: ${{ secrets.REPO_TOKEN }}
- name: Update submodules
uses: ./actions/update-submodules
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.REPO_TOKEN }}