Skip to content

Commit

Permalink
(hds-1742) Add hds-js to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoHelle committed Jan 5, 2024
1 parent b8fc08f commit 5089a83
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
run: yarn build
working-directory: ./packages/react

- name: build hds-js package
run: yarn build:hds-js
working-directory: ./packages/react

- name: test react package
run: yarn test
working-directory: ./packages/react
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ jobs:
run: yarn build
working-directory: ./packages/react

- name: build hds-js package
run: yarn build:hds-js
working-directory: ./packages/react

- name: build documentation site
run: yarn build
working-directory: ./site

- name: Copy CNAME file
run: cp CNAME ./site/public/

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: prerelease

on:
on:
workflow_dispatch:
inputs:
prerelease_stage:
Expand Down Expand Up @@ -39,6 +39,10 @@ jobs:
run: yarn build
working-directory: ./packages/react

- name: build hds-js package
run: yarn build:hds-js
working-directory: ./packages/react

- name: release npm packages
run: yarn run release --dist-tag ${{ github.event.inputs.prerelease_stage }}
env:
Expand Down

0 comments on commit 5089a83

Please sign in to comment.