Skip to content

Commit

Permalink
ci: do less in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 16, 2024
1 parent 7ea235e commit 1f664fc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: release

on:
workflow_dispatch:
push:
tags:
- "v*"

# Remove default permissions of GITHUB_TOKEN for security
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Expand All @@ -12,7 +14,6 @@ jobs:
if: github.repository_owner == 'nuxt'
permissions:
id-token: write
contents: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
Expand All @@ -32,13 +33,8 @@ jobs:
- name: Prepare build environment
run: pnpm dev:prepare

- name: Configure git
run: |
git config --global user.name "Daniel Roe"
git config --global user.email "daniel@roe.dev"
- name: Release
run: pnpm changelogen --publish --release --push
run: pnpm changelogen --publish
env:
NODE_AUTH_TOKEN: ${{ secrets.RELEASE_NODE_AUTH_TOKEN }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 1f664fc

Please sign in to comment.