Skip to content

Commit 2c5d8f4

Browse files
Merge pull request #4 from codemagic-ci-cd/feature/add-development-instructions
Feature: add development instructions and recompile dist module
2 parents 4899cd5 + 878dec7 commit 2c5d8f4

7 files changed

Lines changed: 2370 additions & 247 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2+
.yarn
23

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,15 @@ Output variables can be used later in the action steps:
6868
| `build-id` | Codemagic build ID |
6969
| `build-api-url` | Build status API endpoint |
7070
| `build-url` | Build page, requires Codemagic account for access |
71+
72+
Development
73+
-----------
74+
75+
Install dependencies
76+
77+
yarn
78+
79+
Complie sources and dependencies into a standalone module
80+
81+
yarn ncc build --minify index.js --license LICENSE
82+

dist/LICENSE

Lines changed: 959 additions & 0 deletions
Large diffs are not rendered by default.

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"repository": "git@github.com:codemagic-ci-cd/trigger-codemagic-workflow-action.git",
77
"author": "Artemii Yanushevskyi <artemii@nevercode.io>",
88
"license": "MIT",
9-
"private": false,
109
"type": "module",
1110
"dependencies": {
1211
"@actions/core": "^1.10.0",
@@ -17,4 +16,3 @@
1716
"@vercel/ncc": "^0.34.0"
1817
}
1918
}
20-

0 commit comments

Comments
 (0)