@mackenly/planningcenterkit 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,6 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
|
-
- '*beta*'
|
|
8
7
|
tags:
|
|
9
8
|
- 'v*'
|
|
10
9
|
paths-ignore:
|
|
@@ -36,7 +35,7 @@ jobs:
|
|
|
36
35
|
publish:
|
|
37
36
|
needs: build-and-test
|
|
38
37
|
runs-on: ubuntu-latest
|
|
39
|
-
if : github.repository_owner == 'mackenly' &&
|
|
38
|
+
if : github.repository_owner == 'mackenly' && github.ref == 'refs/heads/main'
|
|
40
39
|
permissions:
|
|
41
40
|
contents: write
|
|
42
41
|
packages: write
|
|
@@ -58,12 +57,10 @@ jobs:
|
|
|
58
57
|
minor-wording: 'bump-minor,adds,Adds,new'
|
|
59
58
|
major-wording: 'bump-major,MAJOR,removes,Removes,delete,Delete'
|
|
60
59
|
patch-wording: 'bump-patch,fixes,Fixes,bugfix,Bugfix,patch,hotfix,Hotfix'
|
|
61
|
-
preid: ${{ contains(github.ref, 'beta') && 'beta' || '' }}
|
|
62
|
-
tag-suffix: ${{ contains(github.ref, 'beta') && '-beta' || '' }}
|
|
63
60
|
env:
|
|
64
61
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
65
62
|
- name: Publish to GitHub Packages
|
|
66
|
-
run: npm publish
|
|
63
|
+
run: npm publish --access public
|
|
67
64
|
env:
|
|
68
65
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
69
66
|
- uses: actions/setup-node@v4
|
|
@@ -77,12 +74,7 @@ jobs:
|
|
|
77
74
|
env:
|
|
78
75
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
79
76
|
- name: Publish to npm
|
|
80
|
-
run:
|
|
81
|
-
if [[ "${{ github.ref }}" == *beta* ]]; then
|
|
82
|
-
npm publish --access public --tag beta
|
|
83
|
-
else
|
|
84
|
-
npm publish --access public --tag latest
|
|
85
|
-
fi
|
|
77
|
+
run: npm publish --access public --tag latest
|
|
86
78
|
env:
|
|
87
79
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
88
80
|
- name: Create GitHub Release
|
|
@@ -94,4 +86,4 @@ jobs:
|
|
|
94
86
|
release_name: Release ${{ steps.versioning.outputs.newTag }}
|
|
95
87
|
body: ${{ steps.versioning.outputs.changelog }}
|
|
96
88
|
draft: false
|
|
97
|
-
prerelease:
|
|
89
|
+
prerelease: false
|