-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb99a2a
commit c015e53
Showing
581 changed files
with
75,725 additions
and
1,102 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
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
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 |
---|---|---|
|
@@ -4,14 +4,14 @@ name: Build and Deploy | |
on: | ||
# Triggers the workflow on push events for the master branch | ||
push: | ||
branches: [WIP-v4] | ||
branches: [main] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-deploy: | ||
if: "!startsWith(github.event.head_commit.message, 'chore(release)')" | ||
if: "!startsWith(github.event.head_commit.message, 'WIP') && !startsWith(github.event.head_commit.message, 'chore(release)')" | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
|
@@ -33,6 +33,14 @@ jobs: | |
run: | | ||
yarn dist | ||
# Collect test coverage | ||
- name: Run coverage | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.COVERAGE_TOKEN }} | ||
with: | ||
coverageCommand: yarn test --coverage --json --outputFile=./.storybook/jest-test-results.json | ||
|
||
# Runs a set of commands using the runners shell | ||
- name: Build storybook | ||
run: | | ||
|
@@ -42,8 +50,7 @@ jobs: | |
- name: Deploy to GitHub Pages | ||
# You may pin to the exact commit or the version. | ||
# uses: JamesIves/github-pages-deploy-action@5dc1d5a192aeb5ab5b7d5a77b7d36aea4a7f5c92 | ||
uses: JamesIves/github-pages-deploy-action@4.1.5 | ||
uses: JamesIves/github-pages-deploy-action@v4.6.4 | ||
with: | ||
branch: gh-pages | ||
target-folder: v4 | ||
folder: build |
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
Oops, something went wrong.