Skip to content

Commit 572c2b0

Browse files
committed
ci: update workflows
1 parent e655176 commit 572c2b0

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_run:
55
workflows: ["Version or Publish"]
66
types: [completed]
7-
branches: [master]
87

98
permissions: read-all
109

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
node-version: [24, 22, 20]
14+
node-version: [24]
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout tree

.github/workflows/version-or-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ on:
44
workflow_run:
55
workflows: ["Builds, tests & co"]
66
types: [completed]
7-
branches: [master]
87

98
concurrency: ${{ github.workflow }}
109

1110
permissions: read-all
1211

1312
jobs:
1413
release:
15-
if: ${{ github.repository_owner == 'js2me' }}
14+
if: ${{ github.repository_owner == 'js2me' && github.event.workflow_run.conclusion == 'success' }}
1615
permissions:
1716
contents: write # to create release
1817
id-token: write # to generate provenance

post-build.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ postBuildScript({
88
updateVersion: process.env.PUBLISH_VERSION,
99
onDone: (versionsDiff, { $ }, packageJson, { targetPackageJson }) => {
1010
if (process.env.PUBLISH) {
11-
$('pnpm test');
12-
1311
if (!process.env.CI) {
12+
$('pnpm test');
1413
$('pnpm changeset version');
1514
}
1615

0 commit comments

Comments
 (0)