Skip to content

Commit

Permalink
Merge pull request #9 from worktile/release-auto-v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jul 16, 2024
2 parents 45b4ac9 + fa0341d commit 195aae5
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 76 deletions.
144 changes: 72 additions & 72 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
name: Publish

on:
pull_request:
types:
- opened
- reopened
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
pull_request:
types:
- opened
- reopened
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}

jobs:
autoApprove:
if: startsWith(github.head_ref, 'release-auto-')
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v4
with:
review-message: 'Auto approve sync PRs to auto merge them'
publish:
if: startsWith(github.head_ref, 'release-auto-')
needs: [autoApprove]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci --force
- name: Publish
if: startsWith(github.head_ref, 'release-auto-v')
run: |
git config user.name github-actions
git config user.email [email protected]
npm run pub
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish-next
if: startsWith(github.head_ref, 'release-auto-next-v')
run: |
git config user.name github-actions
git config user.email [email protected]
npm run pub-next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Read package.json
id: read-version
uses: notiz-dev/github-action-json-property@release
with:
path: 'package.json'
prop_path: 'version'
autoMerge:
if: startsWith(github.head_ref, 'release-auto-')
needs: [publish]
runs-on: ubuntu-latest
steps:
- id: autoMerge
name: autoMerge
uses: 'pascalgn/[email protected]'
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
MERGE_LABELS: ''
MERGE_FORKS: 'false'
MERGE_RETRIES: '20'
MERGE_RETRY_SLEEP: '60000'
autoApprove:
if: startsWith(github.head_ref, 'release-auto-')
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v4
with:
review-message: 'Auto approve sync PRs to auto merge them'
publish:
if: startsWith(github.head_ref, 'release-auto-')
needs: [autoApprove]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci --force
- name: Publish
if: startsWith(github.head_ref, 'release-auto-v')
run: |
git config user.name github-actions
git config user.email [email protected]
npm run pub
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_AI_TABLE }}
- name: Publish-next
if: startsWith(github.head_ref, 'release-auto-next-v')
run: |
git config user.name github-actions
git config user.email [email protected]
npm run pub-next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_AI_TABLE }}
- name: Read package.json
id: read-version
uses: notiz-dev/github-action-json-property@release
with:
path: 'package.json'
prop_path: 'version'
autoMerge:
if: startsWith(github.head_ref, 'release-auto-')
needs: [publish]
runs-on: ubuntu-latest
steps:
- id: autoMerge
name: autoMerge
uses: 'pascalgn/[email protected]'
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
MERGE_LABELS: ''
MERGE_FORKS: 'false'
MERGE_RETRIES: '20'
MERGE_RETRY_SLEEP: '60000'
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## 0.0.2 (2024-07-16)


## 0.0.1 (2024-07-15)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ai-table",
"version": "0.0.1",
"version": "0.0.2",
"workspaces": [
"packages/*"
],
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ai-table/grid",
"version": "0.0.1",
"version": "0.0.2",
"peerDependencies": {
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0"
Expand Down

0 comments on commit 195aae5

Please sign in to comment.