jamespot-react-core 1.1.6 → 1.1.7

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.
@@ -19,65 +19,17 @@ jobs:
19
19
  - name: Reconfigure git to use HTTP authentication
20
20
  run: >
21
21
  git config --global url."https://${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}@github.com/".insteadOf ssh://git@github.com/
22
- - name: Delete stable
23
- uses: dawidd6/action-delete-branch@v3
24
- with:
25
- branches: remote-stable
26
- github_token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
27
- continue-on-error: true
28
- - name: New remote-stable branch
29
- uses: peterjgrainger/action-create-branch@v2.0.1
30
- env:
31
- GITHUB_TOKEN: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
32
- with:
33
- branch: remote-stable
34
- - name: Merge master -> remote-stable
35
- uses: devmasx/merge-branch@master
36
- with:
37
- type: now
38
- from_branch: mastertmp2
39
- target_branch: remote-stable
40
- github_token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
41
- - name: ⬇️ Checkout js-util-create-stable-branch
42
- uses: actions/checkout@v3
43
- with:
44
- repository: Jamespot/js-util-create-stable-branch
45
- token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
46
- path: js-util-create-stable-branch
47
- persist-credentials: false
48
- - name: ⬇️ Checkout remote-stable branch
49
- uses: actions/checkout@v3
22
+ - name: Cache dependencies
23
+ uses: actions/cache@v2
50
24
  with:
51
- token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
52
- ref: remote-stable
53
- path: newbranch
54
- persist-credentials: false
25
+ path: ~/.npm
26
+ key: npm-${{ hashFiles('package-lock.json') }}
27
+ restore-keys: npm-
55
28
  - name: 🔨 Change package.json
56
29
  run: |
57
- pwd
58
- cd ./newbranch
59
30
  npm i jamespot-user-api@latest
60
31
  npm i jamespot-react-components@latest
61
32
  - run: |
62
- cd ./newbranch
63
33
  npm publish
64
34
  env:
65
35
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
66
- - name: Cache dependencies
67
- uses: actions/cache@v2
68
- with:
69
- path: ~/.npm
70
- key: npm-${{ hashFiles('package-lock.json') }}
71
- restore-keys: npm-
72
- - name: Install dependencies
73
- run: |
74
- pwd
75
- cp newbranch/package.json ./
76
- cp newbranch/package-lock.json ./
77
- - name: push
78
- uses: actions-x/commit@v4
79
- with:
80
- token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
81
- branch: remote-stable
82
- force: true
83
- directory: newbranch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Jamespot React Core",
5
5
  "types": "./build/utils/types.d.ts",
6
6
  "scripts": {