Adjust workflow

This commit is contained in:
Eric Fennis
2023-07-31 21:21:43 +02:00
parent 4c90b84236
commit 751f7cb1e3
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -86,6 +86,6 @@ jobs:
if: github.repository == 'lucide-icons/lucide'
needs: create-release
uses: './.github/workflows/release.yml'
secrets: inherit
with:
version: ${{ needs.create-release.outputs.VERSION }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+1 -5
View File
@@ -11,10 +11,6 @@ on:
required: true
description: Version
type: string
NPM_TOKEN:
description: NPM token to publish
type: string
required: true
workflow_dispatch:
inputs:
@@ -135,7 +131,7 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Set Auth Token
run: npm config set //registry.npmjs.org/:_authToken ${{ inputs.NPM_TOKEN || secrets.NPM_TOKEN }}
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- name: Set new version
run: pnpm --filter lucide-static version --new-version ${{ needs.pre-release.outputs.VERSION }} --no-git-tag-version
+1 -1
View File
@@ -40,7 +40,7 @@ export default defineConfig({
},
head: [
[ 'script', {
src: 'https://plausible.io/js/script.js',
src: 'https://analytics.lucide.dev/js/script.js',
'data-domain': 'lucide.dev',
defer: ''
}],