File tree Expand file tree Collapse file tree 3 files changed +50
-3
lines changed
packages/vue-global-loader Expand file tree Collapse file tree 3 files changed +50
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to NPM
2+
3+ on :
4+ push :
5+ tags : ['v*']
6+ workflow_dispatch :
7+
8+ jobs :
9+ tests-workflow :
10+ uses : ./.github/workflows/tests.yml
11+ publish :
12+ needs : tests-workflow
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : read
16+ id-token : write
17+ steps :
18+ - uses : actions/checkout@v3
19+ - uses : actions/setup-node@v3
20+ with :
21+ node-version : ' 20.x'
22+ registry-url : ' https://registry.npmjs.org'
23+ - uses : pnpm/action-setup@v2
24+ name : Install pnpm
25+ with :
26+ version : 8
27+ run_install : true
28+ - name : Build package
29+ run : pnpm build
30+ - name : Copy README and LICENSE
31+ run : cp README.md LICENSE packages/vue-global-loader
32+ - name : Pack
33+ run : cd packages/vue-global-loader && rm -rf *.tgz && npm pack
34+ - name : Publish
35+ run : cd packages/vue-global-loader && npm publish *.tgz --provenance --access public
36+ env :
37+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-global-loader/nuxt" ,
33 "configKey" : " globalLoader" ,
4- "version" : " 0.9.0 "
4+ "version" : " 0.9.6 "
55}
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-global-loader" ,
3- "version" : " 0.9.0 " ,
3+ "version" : " 0.9.6 " ,
44 "private" : false ,
55 "description" : " Global loaders made easy for Vue and Nuxt" ,
6- "keywords" : [],
6+ "keywords" : [
7+ " vue" ,
8+ " vuejs" ,
9+ " nuxt" ,
10+ " nuxtjs" ,
11+ " loading" ,
12+ " loading-screen" ,
13+ " loader" ,
14+ " spinner" ,
15+ " spinners"
16+ ],
717 "homepage" : " https://vue-global-loader.pages.dev/" ,
818 "bugs" : {
919 "url" : " https://github.com/smastrom/vue-global-loader/issues"
You can’t perform that action at this time.
0 commit comments