Skip to content

chore(release): update versions to 4.0.39 #33

chore(release): update versions to 4.0.39

chore(release): update versions to 4.0.39 #33

Workflow file for this run

# Automatically release a new version of the package when a new version is created
name: Auto Release
on:
push:
branches:
- main
- next
permissions: write-all
jobs:
release:
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 package if new version
uses: ./actions/release-pkg
with:
draft: false
# if branch is next, set prerelease to true
prerelease: ${{ github.ref == 'refs/heads/next' }}
token: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: revolist/revogrid-actions
ref: main
path: ./actions
token: ${{ secrets.REPO_TOKEN }}
- name: Publish package
uses: ./actions/publish-pkg
with:
token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}