Skip to content

Commit

Permalink
chore: fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Feb 4, 2024
1 parent 44af6c0 commit f75d0c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,24 @@ jobs:
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 20
always-auth: true
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: yarn

- name: Run checks
run: yarn run test && yarn lint && yarn run build
run: yarn run test && yarn lint && yarn build

- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: action-docs
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"build","section":"Miscellaneous","hidden":true}]'
last-release-sha: 71c5c39213ac3d20d98797dd47ad7674d01ff0a4
release-as: v2.0.0

- name: Publish to NPM
run: yarn publish
if: ${{ steps.release.outputs.release_created }}
Expand Down

0 comments on commit f75d0c3

Please sign in to comment.