Skip to content

Commit 954cc01

Browse files
committed
fix: (workflows/release-please): npm package contains no files
1 parent ea4bfbb commit 954cc01

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
cache: 'npm'
4141
- name: Install dependencies
4242
run: npm ci
43+
- name: Build the package
44+
run: npm run build
4345
- name: Publish to NPMJS.org
4446
run: npm publish --provenance --access public
4547
env:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.0.9",
44
"description": "OpenSCD API for IEC 61850 SCL files",
55
"type": "module",
6-
"main": "./oscd-api.js",
7-
"types": "./oscd-api.d.ts",
6+
"main": "./dist/oscd-api.js",
7+
"types": "./dist/oscd-api.d.ts",
88
"scripts": {
99
"lint": "eslint . && prettier \"**/*.ts\" --check --ignore-path .gitignore",
1010
"format": "eslint . --fix && prettier \"**/*.ts\" --write --ignore-path .gitignore",

0 commit comments

Comments
 (0)