@getopenpay/openpay-js-react 0.0.1-alpha.09717a2 → 0.0.1-alpha.5f72915
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.
|
@@ -6,7 +6,7 @@ on:
|
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
8
|
publish:
|
|
9
|
-
name:
|
|
9
|
+
name: Publish to NPM
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
|
|
12
12
|
steps:
|
|
@@ -23,6 +23,12 @@ jobs:
|
|
|
23
23
|
npm ci
|
|
24
24
|
npm run build
|
|
25
25
|
|
|
26
|
+
- name: Set version variable
|
|
27
|
+
if: 'github.event.release.prerelease'
|
|
28
|
+
run: |
|
|
29
|
+
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
|
|
30
|
+
npm version ${{ github.ref_name }} --no-git-tag-version
|
|
31
|
+
|
|
26
32
|
- name: Publish package
|
|
27
33
|
run: |
|
|
28
34
|
npm publish --access public
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getopenpay/openpay-js-react",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.5f72915",
|
|
4
4
|
"description": "Accept payments through OpenPay, right on your site",
|
|
5
5
|
"author": "OpenPay <info@getopenpay.com> (https://getopenpay.com)",
|
|
6
6
|
"type": "module",
|