Skip to content

Commit 5782291

Browse files
authored
Merge pull request #767 from maiieul/fix-pkg-pr-new-flakiness
fix(pkg.pr.new):separate the job into a new "continuous-release" workflow
2 parents 666ed11 + 02be20d commit 5782291

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
node_version: [18, 20, 22]
13+
node_version: [20, 22]
1414

1515
steps:
1616
- name: Cancel Previous Runs
@@ -30,6 +30,16 @@ jobs:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
3131
chromatic_token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
3232

33+
continuous-release:
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v3
38+
- name: Setup
39+
uses: ./.github/actions/setup
40+
with:
41+
node_version: 20
42+
- run: pnpm build.headless
3343
- run: pnpx pkg-pr-new publish ./dist/packages/kit-headless
3444
env:
3545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN is provided automatically in any repository

0 commit comments

Comments
 (0)