File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 with :
2323 node-version : 20
2424
25- - name : Install root dependencies
25+ - name : Install express dependencies
26+ working-directory : packages/express
27+ run : npm install
28+
29+ - name : Install core dependencies
30+ working-directory : packages/core
2631 run : npm install
2732
2833 - name : Test Core
7075 env :
7176 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7277
78+ publish-core-beta :
79+ name : Publish Core Beta
80+ runs-on : ubuntu-latest
81+ if : github.ref == 'refs/heads/dev'
82+ permissions :
83+ contents : write
84+ id-token : write
85+ steps :
86+ - uses : actions/checkout@v4
87+
88+ - uses : actions/setup-node@v4
89+ with :
90+ node-version : 20
91+ registry-url : https://registry.npmjs.org/
92+
93+ - name : Install dependencies
94+ working-directory : packages/core
95+ run : npm ci
96+
97+ - name : Build
98+ working-directory : packages/core
99+ run : npm run build
100+
101+ - name : Bump beta version
102+ working-directory : packages/core
103+ run : |
104+ git config user.name "github-actions[bot]"
105+ git config user.email "github-actions[bot]@users.noreply.github.com"
106+ npm version prerelease --preid=beta
107+ git push --follow-tags origin dev
108+
109+ - name : Publish beta
110+ working-directory : packages/core
111+ run : npm publish --tag beta --access public
112+ env :
113+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
73114 publish-stable :
74115 name : Publish Stable Release
75116 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments