Skip to content

Commit 66bbb74

Browse files
authored
Run tests on main pushes and adjust release (#1580)
1 parent 39147cb commit 66bbb74

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
publish:
1818
if: >
1919
github.event.workflow_run.conclusion == 'success' &&
20-
github.event.workflow_run.event == 'push' &&
2120
github.event.workflow_run.head_branch == 'main' &&
2221
github.event.workflow_run.head_repository.full_name == github.repository
2322

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ on:
1616
- 'postcss.config.js'
1717
- '.changeset/**'
1818
- '.github/workflows/**'
19+
push:
20+
branches: [ main ]
21+
paths:
22+
- 'src/**'
23+
- 'styles/**'
24+
- 'package.json'
25+
- 'package-lock.json'
26+
- 'scripts/**'
27+
- 'rollup.config.cjs'
28+
- 'rollup-css.config.cjs'
29+
- 'rollup-tokens.config.cjs'
30+
- 'tsconfig.json'
31+
- 'postcss.config.js'
32+
- '.changeset/**'
33+
- '.github/workflows/**'
1934

2035
permissions:
2136
contents: read

0 commit comments

Comments
 (0)