Skip to content

Commit

Permalink
CI: Add push on main workflow (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintoo200 authored Mar 19, 2024
2 parents e664d1f + 421f1ef commit f049ea2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "CD"

on:
push:
branches:
- main

jobs:
tests:
uses: ./.github/workflows/tests.yml
type-check:
uses: ./.github/workflows/type-check.yml
build:
needs: [tests, type-check]
uses: ./.github/workflows/build.yml
with:
artifact-name: "lib-latest"
build-storybook:
needs: [tests, type-check]
uses: ./.github/workflows/build-storybook.yml
with:
artifact-name: "storybook-latest"
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "CI"

on: [pull_request]
on: pull_request

jobs:
tests:
Expand Down

0 comments on commit f049ea2

Please sign in to comment.