chore(release): update versions to 4.8.2 #47
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
# 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 }} | |
path: ./dist/angular-datagrid |