diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6dbbe4..94e8eb1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,7 @@ name: Release on: push: - branches: - release-workflow + branches: release-workflow permissions: contents: read # for checkout @@ -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 @@ -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 }} diff --git a/.releaserc b/.releaserc deleted file mode 100644 index 0f13c70..0000000 --- a/.releaserc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "release": { - "branches": [ - "release-workflow" - ] - }, - "plugins": [ - "@semantic-release/npm", - { - "pkgRoot": "./lib" - } - ] -} diff --git a/lib/.releaserc b/lib/.releaserc new file mode 100644 index 0000000..38ed18d --- /dev/null +++ b/lib/.releaserc @@ -0,0 +1,3 @@ +{ + "branches": ["release-workflow"] +} \ No newline at end of file diff --git a/lib/README.md b/lib/README.md index 1511959..db0ef88 100644 --- a/lib/README.md +++ b/lib/README.md @@ -1,5 +1 @@ -# Vue 3 + Vite - -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `