Skip to content

Commit

Permalink
build: update package build pipeline
Browse files Browse the repository at this point in the history
This commit updates the repo package build scripts per 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 3, 2024
1 parent eab7457 commit f15200e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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
- 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
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@
"web components"
],
"scripts": {
"build": "npm-run-all build:sass sass:render dist:js build:api test build:docs bundler postinstall types",
"build": "npm-run-all build:sass sass:render",
"build:test": "npm-run-all test linters",
"build:release": "npm-run-all build build:test build:api build:docs bundler types postinstall",
"build:ci": "npm-run-all sweep build:release",
"build:api": "wca analyze 'src/auro-input.js' --outFiles docs/api.md",
"build:demo": "npm-run-all build demo:rm:build demo:new:build demo:copy:index demo:copy:demo demo:update:index",
"build:dev:assets": "npm-run-all build:sass:component postCss:component sass:render",
Expand Down

0 comments on commit f15200e

Please sign in to comment.