-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 I have created a release *beep* *boop* --- ## [1.11.0](v1.10.0...v1.11.0) (2024-04-12) ### Features * allow json parsing in templates ([#39](#39)) ([6b2ea9b](6b2ea9b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
- Loading branch information
0 parents
commit 4a44aab
Showing
34 changed files
with
28,915 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: CI | ||
|
||
on: | ||
merge_group: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'main'}} | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.7.0 | ||
cache: npm | ||
|
||
- id: cache | ||
name: Cache node_modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-16-nodemodules-${{ hashFiles('package-lock.json') }} | ||
|
||
- if: steps.cache.outputs.cache-hit != 'true' | ||
name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
Test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.7.0 | ||
cache: npm | ||
|
||
- id: cache | ||
name: Cache node_modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-16-nodemodules-${{ hashFiles('package-lock.json') }} | ||
|
||
- if: steps.cache.outputs.cache-hit != 'true' | ||
name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Test | ||
run: npm run test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: PR | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- edited | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
title: | ||
name: Check Title | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check | ||
uses: stordco/[email protected] | ||
with: | ||
regex: '^(feat!|fix!|fix|feat|chore|(fix|feat|chore)\(\w.*\)):\s(\[\w{1,8}-\d{1,8}\]|.*).*' | ||
hint: | | ||
You can pass the following formats: | ||
fix: [OR-123] some title of the PR | ||
fix(scope): [OR-123] some title of the PR | ||
feat: [OR-1234] some title of the PR | ||
chore: update some action |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
--- | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
please: | ||
name: Please | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- id: release | ||
name: Release | ||
uses: google-github-actions/release-please-action@v3 | ||
with: | ||
release-type: node | ||
package-name: "@stordco/actions-sync" | ||
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
extra-files: README.md | ||
|
||
- if: steps.release.outputs.release_created | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ steps.release.outputs.tag_name }} | ||
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
persist-credentials: true | ||
|
||
- if: steps.release.outputs.release_created | ||
name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
|
||
- if: steps.release.outputs.release_created | ||
id: cache | ||
name: Cache node_modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-16-nodemodules-${{ hashFiles('package-lock.json') }} | ||
|
||
- if: steps.release.outputs.release_created && steps.cache.outputs.cache-hit != 'true' | ||
name: Install Dependencies | ||
run: npm ci | ||
|
||
- if: steps.release.outputs.release_created | ||
name: Build | ||
run: npm run build | ||
|
||
- if: steps.release.outputs.release_created | ||
name: Tag | ||
run: | | ||
git config user.name stord-engineering-account | ||
git config user.email [email protected] | ||
git add -f dist | ||
git commit --amend --no-edit | ||
git tag -d v${{ steps.release.outputs.major }} || true | ||
git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true | ||
git tag -d latest || true | ||
git push origin :v${{ steps.release.outputs.major }} || true | ||
git push origin :v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true | ||
git push origin :latest || true | ||
git tag -a v${{ steps.release.outputs.major }} -m "chore(main): release ${{ steps.release.outputs.major }}" | ||
git tag -a v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} -m "chore(main): release v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}" | ||
git tag -a latest -m "chore(main): release ${{ steps.release.outputs.tag_name }}" | ||
git push origin v${{ steps.release.outputs.major }} | ||
git push origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} | ||
git push origin latest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
node_modules |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CHANGELOG.md | ||
dist | ||
node_modules | ||
test/fixtures |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node 20.7.0 |
Oops, something went wrong.