-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gh-action): build-and-deploy should first build core before build…
…ing OpenSCD (#1427) * fix(gh-action): build-and-deploy should first build core before building openscd * Update README.md
- Loading branch information
1 parent
43b8285
commit e25e5f8
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,6 @@ on: | |
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: packages/open-scd | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -22,10 +18,22 @@ jobs: | |
with: | ||
node-version: '18.x' | ||
|
||
- name: Install and Build | ||
- name: Install and build Core | ||
run: | | ||
cd packages/core | ||
npm clean-install | ||
npm run-script build | ||
npm run-script doc | ||
- name: Install and Build OpenSCD | ||
run: | | ||
cd packages/open-scd | ||
npm clean-install | ||
npm run-script build | ||
- name: Copy Core Docs to OpenSCD | ||
run: | | ||
cp -R packages/core/doc packages/open-scd/build/core-doc | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters