Skip to content

Commit

Permalink
Install dependencies before tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
sebamarynissen committed Jan 31, 2024
1 parent 47419f1 commit 859ddd6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}

- name: Installing dependencies
run: npm ci

- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}

- name: Build
run: npm run build

Expand Down

0 comments on commit 859ddd6

Please sign in to comment.