mirror of
https://github.com/Paillat-dev/svelte-github-calendar.git
synced 2026-01-02 01:06:20 +00:00
💚 Update publish command in publish.yaml to disable git checks
This commit is contained in:
18
.github/workflows/publish.yaml
vendored
18
.github/workflows/publish.yaml
vendored
@@ -29,21 +29,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Extract version from tag
|
|
||||||
id: version
|
|
||||||
run: |
|
|
||||||
VERSION=${GITHUB_REF#refs/tags/v}
|
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
||||||
echo "Publishing version: $VERSION"
|
|
||||||
|
|
||||||
- name: Update package.json version
|
|
||||||
run: |
|
|
||||||
pnpm version ${{ steps.version.outputs.version }} --no-git-tag-version
|
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|
||||||
- name: Publish to NPM
|
- uses: simenandre/publish-with-pnpm@v2
|
||||||
run: pnpm publish --access public --provenance --no-git-checks
|
with:
|
||||||
env:
|
npm-auth-token: ${{ secrets.NPM_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user