underpost 2.7.81 → 2.7.83

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.
@@ -34,25 +34,24 @@ jobs:
34
34
  name: Publish to npm
35
35
  run: npm publish --provenance --access public
36
36
 
37
- - name: Clone github package repository
38
- run: |
39
- git clone https://github.com/underpostnet/pwa-microservices-template-ghpkg.git
40
- rm -rf ./.git
41
- cp -a ./pwa-microservices-template-ghpkg/.git ./.git
42
- rm -rf ./pwa-microservices-template-ghpkg
43
- node ./bin/deploy rename-package @underpostnet/underpost
44
- node ./bin/deploy set-repo underpostnet/pwa-microservices-template-ghpkg
37
+ build-and-publish-ghpkg:
38
+ # prevents this action from running on forks
39
+ if: github.repository == 'underpostnet/pwa-microservices-template-ghpkg'
40
+ runs-on: ubuntu-latest
41
+ permissions:
42
+ contents: read
43
+ id-token: write
44
+ steps:
45
+ - uses: actions/checkout@v4
46
+ - uses: actions/setup-node@v4
47
+ with:
48
+ node-version: '22.x'
49
+ registry-url: 'https://registry.npmjs.org'
45
50
 
46
- - name: Set git credentials
47
- run: |
48
- git config --global credential.helper ""
49
- git config credential.helper ""
50
- git config --global user.name 'underpostnet'
51
- git config --global user.email 'fcoverdugoa@underpost.net'
52
- git config --global credential.interactive always
53
- git config user.name 'underpostnet'
54
- git config user.email 'fcoverdugoa@underpost.net'
55
- git config credential.interactive always
51
+ - name: Install Dependencies
52
+ run: npm install
53
+
54
+ - run: npm ci
56
55
 
57
56
  # Publish to npm git hub package
58
57
  - uses: actions/setup-node@v4
package/bin/index.js CHANGED
@@ -19,7 +19,7 @@ const globalBinFolder = `${shellExec(`npm root -g`, {
19
19
 
20
20
  const program = new Command();
21
21
 
22
- const version = '2.7.81';
22
+ const version = '2.7.83';
23
23
 
24
24
  program.name('underpost').description(`underpost.net ci/cd cli ${version}`).version(version);
25
25
 
@@ -58,7 +58,7 @@ services:
58
58
  cpus: '0.25'
59
59
  memory: 20M
60
60
  labels: # labels in Compose file instead of Dockerfile
61
- engine.version: '2.7.81'
61
+ engine.version: '2.7.83'
62
62
  networks:
63
63
  - load-balancer
64
64
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "main": "src/index.js",
4
4
  "name": "underpost",
5
- "version": "2.7.81",
5
+ "version": "2.7.83",
6
6
  "description": "pwa api rest template",
7
7
  "scripts": {
8
8
  "start": "env-cmd -f .env.production node --max-old-space-size=8192 src/server",
@@ -63,7 +63,7 @@ const Docs = {
63
63
  icon: html`<i class="fa-brands fa-osi"></i>`,
64
64
  text: 'Source Docs',
65
65
  url: function () {
66
- return `${getProxyPath()}docs/engine/2.7.81`;
66
+ return `${getProxyPath()}docs/engine/2.7.83`;
67
67
  },
68
68
  },
69
69
  {
@@ -109,6 +109,6 @@ SrrComponent = ({ ttiLoadTimeLimit }) => {
109
109
  const CacheControl = ${CacheControl};
110
110
  CacheControl({ ttiLoadTimeLimit: ${ttiLoadTimeLimit ? ttiLoadTimeLimit : 1000 * 70 * 1} });
111
111
  </script>
112
- <div class="clean-cache-container">v2.7.81</div>
112
+ <div class="clean-cache-container">v2.7.83</div>
113
113
  `;
114
114
  };