File tree Expand file tree Collapse file tree 5 files changed +17
-46
lines changed
Expand file tree Collapse file tree 5 files changed +17
-46
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ jobs:
4949 SUPABASE_URL : ${{ secrets.SUPABASE_URL }}
5050 SUPABASE_ANON_KEY : ${{ secrets.SUPABASE_ANON_KEY }}
5151 SUPABASE_PROJECT_ID : ${{ secrets.SUPABASE_PROJECT_ID }}
52- run : yarn turbo publish :dry
52+ run : yarn turbo release :dry --filter=@pipelab/app
5353
5454 - name : Run tests
5555 uses : coactions/setup-xvfb@v1
5656 with :
57- run : cd apps/desktop && yarn test:e2e:raw
57+ run : yarn turbo test:e2e:raw --filter=@pipelab/app
5858
5959 - name : Upload Playwright artifacts
6060 uses : actions/upload-artifact@v4
@@ -104,4 +104,4 @@ jobs:
104104 - name : Publish release
105105 env :
106106 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107- run : cd apps/desktop && yarn electron-forge publish --from-dry-run
107+ run : yarn turbo release
Original file line number Diff line number Diff line change 88 branches :
99 - " **"
1010
11- jobs :
12- build :
11+ jobs : # publish to npm
12+ build-and-publish-npm :
13+ runs-on : ubuntu-latest
1314 permissions :
1415 contents : read
1516 id-token : write
1617 packages : write
1718 attestations : write
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@v4
21- - uses : actions/setup-node@v4
22- with :
23- node-version : " 22.x"
24- - name : Enable Corepack
25- run : corepack enable
26- - run : yarn install
27- - run : yarn turbo build --filter=@pipelab/core
28- # - run: yarn test
29-
30- # publish to npm
31- publish-npm :
32- needs : build
33- runs-on : ubuntu-latest
3419 steps :
3520 - uses : actions/checkout@v4
3621 - uses : actions/setup-node@v4
4126 run : corepack enable
4227 - run : yarn install
4328 - run : yarn turbo build --filter=@pipelab/core
44- - run : cd libs/core && yarn publish
29+ # - run: yarn turbo test --filter=@pipelab/core
30+ - run : yarn turbo release --filter=@pipelab/core
4531 if : github.ref == 'refs/tags/v*'
4632 env :
4733 NODE_AUTH_TOKEN : ${{secrets.PUBLISH_NPM_TOKEN}}
48-
49- # publish to gpr
50- # publish-gpr:
51- # needs: build
52- # runs-on: ubuntu-latest
53- # steps:
54- # - uses: actions/checkout@v4
55- # - uses: actions/setup-node@v4
56- # with:
57- # node-version: "22.x"
58- # registry-url: https://npm.pkg.github.com/
59- # scope: "@cyn"
60- # - uses: pnpm/action-setup@v4
61- # - run: pnpm install
62- # - run: pnpm run build
63- # - run: pnpm publish
64- # env:
65- # NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 3131 "build:linux" : " npm run build:no-check && electron-builder --linux --config" ,
3232 "package" : " electron-forge package" ,
3333 "make" : " electron-forge make" ,
34- "publish " : " electron-forge publish" ,
35- "publish :dry" : " electron-forge publish --dry-run" ,
34+ "release " : " electron-forge publish --from-dry-run " ,
35+ "release :dry" : " electron-forge publish --dry-run" ,
3636 "make-dev-prerelease" : " yarn version prerelease --preid=dev" ,
3737 "supa:types" : " supabase gen types typescript --project-id $VITE_SUPABASE_PROJECT_ID > src/shared/database.types.ts" ,
3838 "migrate-file" : " yarn tsx scripts/migrate-file.mts"
Original file line number Diff line number Diff line change 66 "type" : " module" ,
77 "scripts" : {
88 "build" : " tsc" ,
9- "test" : " echo 0"
9+ "test" : " echo 0" ,
10+ "release" : " yarn npm publish"
1011 },
1112 "files" : [
1213 " dist"
Original file line number Diff line number Diff line change 55 "build" : {
66 "dependsOn" : [" ^build" ]
77 },
8- "publish:dry" : {
9- "dependsOn" : [" ^build" ]
10- },
118 "test:e2e:raw" : {
129 "dependsOn" : [" ^build" ]
1310 },
1714 "check-types" : {
1815 "dependsOn" : [" ^check-types" ]
1916 },
17+ "release:dry" : {
18+ "dependsOn" : [" ^build" ]
19+ },
20+ "release" : {
21+ },
2022 "dev" : {
2123 "cache" : false ,
2224 "persistent" : true
You can’t perform that action at this time.
0 commit comments