-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove unnecessary Dockerfile - rename packages to @zuhlke/design-system-.....
- Loading branch information
1 parent
1e5abdd
commit a384d0f
Showing
12 changed files
with
1,330 additions
and
429 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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
ci-cd: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ vars.NODE_VERSION }} | ||
cache: npm | ||
cache-dependency-path: 'package-lock.json' | ||
registry-url: 'https://registry.npmjs.org' | ||
scope: '@zuhlke' | ||
|
||
- name: Install Root | ||
run: | | ||
npm ci | ||
- name: Lint | ||
run: | | ||
npm run lint | ||
- name: Check | ||
run: | | ||
npm run check | ||
- name: Test | ||
run: | | ||
npm run test | ||
- name: Build | ||
run: | | ||
npm run build | ||
- name: Build Storybook | ||
env: | ||
NODE_OPTIONS: '--max-old-space-size=5120' | ||
run: | | ||
npm run build-storybook --workspace web-components | ||
- name: Publish to Chromatic | ||
uses: chromaui/action@v1 | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_TOKEN }} | ||
exitOnceUploaded: true | ||
onlyChanged: true | ||
workingDir: web-components | ||
storybookBuildDir: storybook-static | ||
zip: true | ||
|
||
- name: Bump Version | ||
if: github.event_name == 'pull_request' | ||
run: | | ||
npm run version:patch | ||
git config --global user.name 'Version Bumper' | ||
git commit -am "Bump Patch" | ||
git push | ||
- name: Publish | ||
if: github.event_name == 'pull_request' | ||
run: | | ||
npm publish --workspaces --access public |
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
fund=false | ||
audit=false | ||
legacy-peer-deps=true |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v21.7.0 | ||
v21 |
Oops, something went wrong.