Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodelatorre7 committed May 16, 2024
1 parent 7b34dd1 commit 0270b4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
node-version: "20"
cache: "npm"

- run: npm ci
- run: npm version --no-git-tag-version $VERSION
- run: npm run build:lib # create the ./lib directory with the files to publish

- id: semver
run: |
SEMVER="${{ github.event.inputs.version }}"
Expand All @@ -47,6 +43,10 @@ jobs:
fi
echo "::set-output name=semver::${SEMVER}"
- run: npm ci
- run: npm version --no-git-tag-version "${{ steps.semver.outputs.semver }}"
- run: npm run build:lib # create the ./lib directory with the files to publish

- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTOMATION_TOKEN }}" > ./lib/.npmrc

- run: |
Expand Down

0 comments on commit 0270b4b

Please sign in to comment.