Skip to content

Commit

Permalink
build: update build scripts
Browse files Browse the repository at this point in the history
This commit updates the pakcage.json build scripts to be compliant with
the decisions made in this discussion:

https://github.com/orgs/AlaskaAirlines/discussions/523

Changes to be committed:
modified:   .github/workflows/testPublish.yml
modified:   package.json
  • Loading branch information
blackfalcon committed May 30, 2024
1 parent 4b43b22 commit c6089e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/testPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run build:test

release:
# Only release on push to main
Expand All @@ -39,7 +40,7 @@ jobs:
with:
node-version: 20.x
- run: npm ci
- run: npm run build
- run: npm run build:release
- uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@
"web components"
],
"scripts": {
"build": "npm-run-all build:sass sass:render scssLint dist:js bundler build:api build:docs postinstall types",
"build:ci": "npm-run-all sweep build",
"build": "npm-run-all build:sass sass:render types",
"build:test": "npm-run-all test linters",
"build:release": "npm-run-all build build:test build:api build:docs build:demoScripts bundler types postinstall",
"build:ci": "npm-run-all sweep build:release",
"build:api": "wca analyze 'src/auro-select.js' --outFiles docs/api.md",
"build:dev:assets": "npm-run-all build:sass:component postCss:component sass:render build:docs",
"build:docs": "node scripts/generateDocs.mjs",
Expand Down

0 comments on commit c6089e8

Please sign in to comment.