Skip to content

Commit d28e54e

Browse files
authored
Merge pull request #4 from ExtendScript/ci/workflow-test
Fix build process
2 parents ac301f0 + a77f963 commit d28e54e

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/publish.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
- name: Archive production artifacts 🚀
3030
uses: actions/upload-artifact@v4
3131
with:
32-
name: lib
33-
path: lib
32+
name: dist
33+
path: dist/
3434
release:
3535
name: semantic-release
3636
needs: [build]
@@ -47,7 +47,8 @@ jobs:
4747
- name: Download artifacts
4848
uses: actions/download-artifact@v4
4949
with:
50-
name: lib
50+
name: dist
51+
path: dist/
5152
- name: Publish package 📦
5253
run: |
5354
npm ci

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "@extendscript/csinterface",
33
"version": "1.0.0",
44
"description": "TypeScript version of Adobe CSInterface",
5-
"main": "lib/index.js",
6-
"types": "lib/index.d.ts",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
77
"scripts": {
88
"build": "tsc",
99
"test": "echo \"Error: no test specified\" && exit 0"
@@ -41,6 +41,6 @@
4141
"typescript": "^5.4.5"
4242
},
4343
"files": [
44-
"lib/**/*"
44+
"dist/**/*"
4545
]
4646
}

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"target": "es5",
44
"module": "commonjs",
5-
"outDir": "lib",
5+
"outDir": "dist",
66
"removeComments": false,
77
"preserveConstEnums": true,
88
"types": ["./CEPEngine_extensions", "./window", "@types/node"],

0 commit comments

Comments
 (0)