diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 43cd9a6..e7ff853 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,9 @@ jobs: registry-url: https://npm.pkg.github.com/ scope: "@dforsber" - name: Install modules with frozen lockfile and build - run: yarn install --frozen-lockfile --ignore-optional + run: | + yarn install --frozen-lockfile --ignore-optional + yarn build - name: Publish to repository run: yarn publish env: diff --git a/package.json b/package.json index d7c6d54..b7358df 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "registry": "https://npm.pkg.github.com/" }, "scripts": { - "prepublish": "tsc", "prebuild": "yarn install --frozen-lockfile", "build": "tsc", "lint": "eslint \"./src/**/*.ts\" --fix",