Skip to content

Commit

Permalink
ci(release): repair release action
Browse files Browse the repository at this point in the history
Pushing to protected branches is not possible anymore without certain settings.
  • Loading branch information
derrabauke authored Feb 23, 2023
1 parent 5c192a5 commit 90244dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,21 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.ref }}
fetch-depth: 0
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 14
cache: "yarn"

- name: Install dependencies
run: yarn install

- name: Configure git
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Release on NPM
env:
Expand Down

0 comments on commit 90244dd

Please sign in to comment.