@24i/smartapps-bigscreen-rnv-build-engine 0.17.21-alpha.2696 → 0.17.21-alpha.2697

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.
package/README.md CHANGED
@@ -228,7 +228,7 @@ If any platform needs any **platform-specific files**, those can be found also i
228
228
  ## How to set up new project with SmartApps BIGscreen build engine
229
229
  There are a few things that are not included in the package and need to be added manually.
230
230
  For example `renative.json` config file and `appConfigs` folder (both related to ReNative)
231
- and `.travis.yml`config file (related to Travis CI).
231
+ and `.github/workflows/*.yml` files (related to GitHub Actions CI).
232
232
 
233
233
  > To **start a new project** with usage of our build process,
234
234
  > please use [SmartApps BIGscreen Template repository](https://github.com/24i/smartapps-bigscreen-template),
@@ -37,15 +37,15 @@ const makePackagesPayload = (c) => {
37
37
  .flat();
38
38
  };
39
39
  const makeHeaderPayload = (c, title, buttons) => {
40
- const { travisBuild, gitHubRelease } = buttons || {};
40
+ const { gitHubActionsBuild, gitHubRelease } = buttons || {};
41
41
  const { owner, repo } = c.buildConfig.common.git || {};
42
42
  const version = getVersion(c);
43
43
  const envName = (0, resolvers_1.resolveBuildEnvName)(c.runtime.scheme);
44
44
  const buttonsData = [];
45
- if (travisBuild) {
45
+ if (gitHubActionsBuild) {
46
46
  buttonsData.push({
47
- text: 'View Travis Build Log',
48
- url: process.env.TRAVIS_BUILD_WEB_URL || `https://travis-ci.com/github/${owner}/${repo}/branches`,
47
+ text: 'View GitHub Actions Build Log',
48
+ url: process.env.CI_BUILD_WEB_URL || `https://github.com/${owner}/${repo}/actions/`,
49
49
  });
50
50
  }
51
51
  if (gitHubRelease) {
@@ -70,20 +70,20 @@ const makePayload = (c, title, buttons) => ({
70
70
  });
71
71
  const makeDevelopmentPayload = (c) => {
72
72
  const title = `There are new *development* builds for *${getCommonAppName(c)}* app!`;
73
- const buttons = { travisBuild: true };
73
+ const buttons = { gitHubActionsBuild: true };
74
74
  return makePayload(c, title, buttons);
75
75
  };
76
76
  exports.makeDevelopmentPayload = makeDevelopmentPayload;
77
77
  const makeReleaseCandidatePayload = (c) => {
78
78
  const title = `There are new *release candidate* builds for *${getCommonAppName(c)}* app!`;
79
- const buttons = { travisBuild: true };
79
+ const buttons = { gitHubActionsBuild: true };
80
80
  return makePayload(c, title, buttons);
81
81
  };
82
82
  exports.makeReleaseCandidatePayload = makeReleaseCandidatePayload;
83
83
  const makeDistributionPayload = (c) => {
84
84
  const title = `There are new *distribution* builds for *${getCommonAppName(c)}* app!`;
85
85
  const isGitHubRelease = c.runtime.scheme === buildSchemes_1.BuildSchemes.RELEASE_PROD_DIST;
86
- const buttons = { travisBuild: true, gitHubRelease: isGitHubRelease };
86
+ const buttons = { gitHubActionsBuild: true, gitHubRelease: isGitHubRelease };
87
87
  return makePayload(c, title, buttons);
88
88
  };
89
89
  exports.makeDistributionPayload = makeDistributionPayload;
@@ -27,8 +27,8 @@ const getSlackPayload = (params) => {
27
27
  ]),
28
28
  slackBlockKitBuilder_1.Actions.buttons([
29
29
  {
30
- url: process.env.TRAVIS_BUILD_WEB_URL || 'https://travis-ci.com/',
31
- text: 'View Travis Build Log',
30
+ url: process.env.CI_BUILD_WEB_URL || 'https://github.com/',
31
+ text: 'View GitHub Actions Build Log',
32
32
  },
33
33
  ...(logsZipUrl ? [{
34
34
  text: 'View Suitest Log files',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.17.21-alpha.2696",
3
+ "version": "0.17.21-alpha.2697",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {