Skip to content

Commit

Permalink
fix: include history and write permissions in release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
manchenkoff committed Apr 30, 2024
1 parent fe5b678 commit 220e16b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish package to NPM
name: Release new version to NPM

env:
node_version: 20.x
Expand All @@ -10,12 +10,17 @@ env:
on:
workflow_dispatch: # manual trigger

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down

0 comments on commit 220e16b

Please sign in to comment.