Skip to content

Commit 8a761a4

Browse files
committed
ci: configured workflow to run commands from ./lib
1 parent dbfaf08 commit 8a761a4

File tree

6 files changed

+12
-26
lines changed

6 files changed

+12
-26
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Release
22
on:
33
push:
4-
branches:
5-
release-workflow
4+
branches: release-workflow
65

76
permissions:
87
contents: read # for checkout
@@ -11,6 +10,9 @@ jobs:
1110
release:
1211
name: Release
1312
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
working-directory: ./lib
1416
permissions:
1517
contents: write # to be able to publish a GitHub release
1618
issues: write # to be able to comment on released issues
@@ -29,6 +31,8 @@ jobs:
2931
run: npm install
3032
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
3133
run: npm audit signatures
34+
- name: Building
35+
run: npm run build
3236
- name: Release
3337
env:
3438
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc

Lines changed: 0 additions & 13 deletions
This file was deleted.

lib/.releaserc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"branches": ["release-workflow"]
3+
}

lib/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
# Vue 3 + Vite
2-
3-
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4-
5-
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
1+
This vue component library will help save money and time.

lib/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"devDependencies": {
2626
"@vitejs/plugin-vue": "^5.0.5",
2727
"vite": "^5.3.4",
28-
"vite-plugin-css-injected-by-js": "^3.5.1"
28+
"vite-plugin-css-injected-by-js": "^3.5.1",
29+
"semantic-release": "24.0.0"
2930
},
3031
"peerDependencies": {
3132
"roughjs": "^4.6.6"

package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)