Skip to content

Commit 9685e47

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent a9b000a commit 9685e47

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

‎.github/workflows/tag-publish.yml

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,31 @@ on:
55
types: [published]
66

77
jobs:
8-
# init:
9-
# uses: ./.github/workflows/00-init.yml
8+
init:
9+
uses: ./.github/workflows/00-init.yml
1010

11-
# init-playground:
12-
# uses: ./.github/workflows/00-init-playground.yml
11+
init-playground:
12+
uses: ./.github/workflows/00-init-playground.yml
1313

14-
# test:
15-
# uses: ./.github/workflows/01-npm-test.yml
16-
# needs: [init]
14+
test:
15+
uses: ./.github/workflows/01-npm-test.yml
16+
needs: [init]
1717

18-
# build:
19-
# uses: ./.github/workflows/01-build.yml
20-
# needs: [init]
18+
build:
19+
uses: ./.github/workflows/01-build.yml
20+
needs: [init]
2121

22-
# build-playground:
23-
# uses: ./.github/workflows/01-build-playground.yml
24-
# needs: [init-playground]
22+
build-playground:
23+
uses: ./.github/workflows/01-build-playground.yml
24+
needs: [init-playground]
2525

26-
# cypress:
27-
# uses: ./.github/workflows/01-cypress.yml
28-
# needs: [build]
29-
30-
default:
31-
uses: ./.github/workflows/default.yml
26+
cypress:
27+
uses: ./.github/workflows/01-cypress.yml
28+
needs: [build]
3229

3330
publishnext:
34-
needs: [default]
3531
name: Publish experimental Packages
36-
# needs: [test, cypress]
32+
needs: [test, cypress]
3733
# Only publish if not on the main branch, the release tag starts with a "v"
3834
# and is flagged as a prerelease
3935
if: |
@@ -63,8 +59,8 @@ jobs:
6359
echo "Semver experimental version $SEMVER_VERSION-$GITHUB_SHA_SHORT"
6460
6561
publishlatest:
66-
needs: [default]
6762
name: Publish stable packages
63+
needs: [test, cypress]
6864
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
6965
runs-on: ubuntu-latest
7066
steps:

0 commit comments

Comments
 (0)