File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33on :
44 push :
5- branches : [main ]
5+ branches : [next ]
66 pull_request :
77
88# The three jobs have no `needs:` between them, so they run in parallel.
7878 name : playwright-report
7979 path : playwright-report/
8080 retention-days : 14
81+
82+ publish :
83+ name : Publish unreleased package versions
84+ if : github.event_name == 'push' && github.ref == 'refs/heads/next'
85+ needs : [check, unit, e2e]
86+ runs-on : ubuntu-latest
87+ environment : npm
88+ permissions :
89+ id-token : write
90+ contents : read
91+ steps :
92+ - name : Checkout repository
93+ uses : actions/checkout@v6
94+ - name : Set up pnpm
95+ uses : pnpm/action-setup@v6
96+ - name : Set up Node.js
97+ uses : actions/setup-node@v6
98+ with :
99+ node-version : 26
100+ cache : pnpm
101+ registry-url : https://registry.npmjs.org
102+ - name : Install dependencies
103+ run : pnpm install --frozen-lockfile
104+ - name : Build
105+ run : pnpm run build
106+ - name : Publish unreleased versions
107+ run : pnpm stage publish --provenance
Original file line number Diff line number Diff line change 2525 "vite" : " ^8.0.16" ,
2626 "vitest" : " ^4.1.8"
2727 },
28- "packageManager" : " pnpm@11.5.1 "
28+ "packageManager" : " pnpm@11.8.0 "
2929}
You can’t perform that action at this time.
0 commit comments