Skip to content

Commit

Permalink
fix: Add back publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
arddluma committed Jun 14, 2024
1 parent ce8e3a1 commit 6be6fda
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
name: Get package version
id: get_version
run: echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT

- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to npm registry (release)
if: ${{ !github.event.act }} # skip during local actions testing
run: yarn run release:publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 6be6fda

Please sign in to comment.