Skip to content

Commit

Permalink
chore: updates extract-api script to build library first
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Sep 21, 2023
1 parent 4e27510 commit 1fc9df6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/api-extractor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
- name: Install dependencies (with cache)
uses: bahmutov/npm-install@v1

- name: Run build
run: npm run build

# Builds the library and runs the api extractor
- name: Run Api-Extractor
run: npm run extract-api
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"prepdist": "node ./config/prepareDist.js",
"prepdist:changesets": "ts-node-script config/prepareChangesetsRelease.ts",
"postprocess-dist": "ts-node-script config/postprocessDist.ts",
"extract-api": "ts-node-script config/apiExtractor.ts",
"extract-api": "npm run build && ts-node-script config/apiExtractor.ts",
"clean": "rimraf dist coverage lib temp",
"check:format": "prettier --check .",
"ci:precheck": "node config/precheck.js",
Expand Down

0 comments on commit 1fc9df6

Please sign in to comment.