File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # Publish package to the npm registry
2+ name : Publish Package
3+
4+ on :
5+ # Run the workflow when a new tag is pushed starting with `v`
6+ # push:
7+ # tags:
8+ # - 'v*'
9+
10+ # Allows you to run this workflow manually from the Actions tab
11+ workflow_dispatch :
12+
13+ permissions :
14+ id-token : write
15+ contents : read
16+
17+ jobs :
18+ publish :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v6
23+ - name : Install pnpm
24+ uses : pnpm/action-setup@v4
25+ - name : Set up Node
26+ uses : actions/setup-node@v6
27+ with :
28+ node-version : 24
29+ cache : ' pnpm'
30+ registry-url : ' https://registry.npmjs.org'
31+ - name : Install dependencies
32+ run : pnpm install
33+ - name : Build
34+ run : pnpm --dir packages/create-vue-lib run build
35+ - name : Publish
36+ run : pnpm --dir packages/create-vue-lib publish
You can’t perform that action at this time.
0 commit comments