Skip to content

Commit

Permalink
Merge pull request #4 from ExtendScript/ci/workflow-test
Browse files Browse the repository at this point in the history
Fix build process
  • Loading branch information
MrSpoocy authored May 8, 2024
2 parents ac301f0 + a77f963 commit d28e54e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Archive production artifacts 🚀
uses: actions/upload-artifact@v4
with:
name: lib
path: lib
name: dist
path: dist/
release:
name: semantic-release
needs: [build]
Expand All @@ -47,7 +47,8 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: lib
name: dist
path: dist/
- name: Publish package 📦
run: |
npm ci
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@extendscript/csinterface",
"version": "1.0.0",
"description": "TypeScript version of Adobe CSInterface",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 0"
Expand Down Expand Up @@ -41,6 +41,6 @@
"typescript": "^5.4.5"
},
"files": [
"lib/**/*"
"dist/**/*"
]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"outDir": "lib",
"outDir": "dist",
"removeComments": false,
"preserveConstEnums": true,
"types": ["./CEPEngine_extensions", "./window", "@types/node"],
Expand Down

0 comments on commit d28e54e

Please sign in to comment.