Skip to content

Commit

Permalink
Fix release script maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Nov 10, 2024
1 parent cf64bb9 commit caebf02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Read .node-version
id: node-version
run: echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: yarn
node-version: ${{ steps.node-version.outputs.node-version }}
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn npm publish --provenance --access public
Expand Down

0 comments on commit caebf02

Please sign in to comment.