Skip to content

Commit 72d032c

Browse files
authored
Release Workflow Fixes (#72)
2 parents 446a487 + c6c89e0 commit 72d032c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/develop.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ name: Development
22
run-name: Compilation & Quality Checks
33

44
on:
5-
push:
6-
branches: [develop]
75
pull_request:
8-
types: [opened]
9-
branches:
10-
- '*'
11-
- '!develop'
126

137
jobs:
148
build-library:
@@ -112,7 +106,7 @@ jobs:
112106
env:
113107
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
114108
with:
115-
command: 'monitor'
109+
command: 'test'
116110
json: true
117111
args: --severity-threshold=high --all-projects
118112

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ jobs:
2525
with:
2626
node-version: 22
2727
cache: 'npm'
28-
2928
- run: npm install
3029
- run: npm run build-storybook --workspace=@tomplum/react-git-log-demo
30+
- name: Store Storybook Statics
31+
uses: actions/upload-artifact@v3
32+
with:
33+
name: storybook-static
34+
path: ./packages/demo/storybook-static
3135

3236
lint:
3337
runs-on: ubuntu-latest
@@ -52,6 +56,11 @@ jobs:
5256
- run: npm install
5357
- run: npm run test:unit:ci --workspace=@tomplum/react-git-log
5458
working-directory: packages/library
59+
- name: Store LCOV Info
60+
uses: actions/upload-artifact@v3
61+
with:
62+
name: storybook-static
63+
path: packages/library/coverage/lcov.info
5564

5665
unit-tests-demo:
5766
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)