Skip to content

Commit

Permalink
ci: configured workflow to run commands from ./lib
Browse files Browse the repository at this point in the history
  • Loading branch information
brimmann committed Jul 29, 2024
1 parent dbfaf08 commit 8a761a4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 26 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Release
on:
push:
branches:
release-workflow
branches: release-workflow

permissions:
contents: read # for checkout
Expand All @@ -11,6 +10,9 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lib
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
Expand All @@ -29,6 +31,8 @@ jobs:
run: npm install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Building
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
13 changes: 0 additions & 13 deletions .releaserc

This file was deleted.

3 changes: 3 additions & 0 deletions lib/.releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"branches": ["release-workflow"]
}
6 changes: 1 addition & 5 deletions lib/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Vue 3 + Vite

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.

Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
This vue component library will help save money and time.
3 changes: 2 additions & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
"vite": "^5.3.4",
"vite-plugin-css-injected-by-js": "^3.5.1"
"vite-plugin-css-injected-by-js": "^3.5.1",
"semantic-release": "24.0.0"
},
"peerDependencies": {
"roughjs": "^4.6.6"
Expand Down
5 changes: 0 additions & 5 deletions package.json

This file was deleted.

0 comments on commit 8a761a4

Please sign in to comment.