Skip to content

Commit d2c03cb

Browse files
Upload artifact index.js only
1 parent 3b8e0b6 commit d2c03cb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
- run: npm ci
14-
- run: npm run dist
15-
- run: npm pack
16-
- name: Upload Artifacts
14+
- run: npm run build
15+
- name: Upload Artifact
1716
uses: softprops/action-gh-release@v1
1817
with:
1918
files: |
20-
editorjs.zip
21-
directus-extension-editorjs*.tgz
19+
dist/index.js
2220
env:
2321
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2422
publish-npm:
@@ -30,6 +28,7 @@ jobs:
3028
node-version: 14
3129
registry-url: https://registry.npmjs.org/
3230
- run: npm ci
31+
- run: npm run build
3332
- run: npm publish
3433
env:
3534
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)