File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
- name : publish-commit
1
+ # upload built packages as artifacts for faster ecosystem-ci
2
+ name : upload-built-packages
2
3
3
4
on :
4
5
workflow_run :
5
6
workflows : ['ci']
6
- branches : [main, minor, test-publish ]
7
+ branches : [main, minor]
7
8
types :
8
9
- completed
9
10
@@ -25,15 +26,17 @@ jobs:
25
26
uses : actions/setup-node@v4
26
27
with :
27
28
node-version-file : ' .node-version'
28
- registry-url : ' https://npm.pkg.github.com '
29
+ registry-url : ' https://registry.npmjs.org '
29
30
cache : ' pnpm'
30
31
31
32
- name : Install deps
32
33
run : pnpm install
33
34
34
- - name : Build and publish
35
- id : publish
36
- run : |
37
- pnpm release 0.0.0-${{ github.event.workflow_run.head_commit.id }} --tag ${{ github.event.workflow_run.head_branch }} --registry https://npm.pkg.github.com --publishOnly
38
- env :
39
- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ - name : Build
36
+ run : pnpm build --withTypes
37
+
38
+ - name : Upload
39
+ uses : actions/upload-artifact@v4
40
+ with :
41
+ name : packages
42
+ path : packages/**/dist/*
You can’t perform that action at this time.
0 commit comments