chore(deps): update dependency semantic-release-preconfigured-conventional-commits to v1.1.100 #344
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test this action | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Test running on ${{github.repository}} | |
run: echo Commit ${{github.sha}} seems to be working | |
- name: Test running on ${{github.repository}} | |
run: echo Commit ${{github.sha}} from a merge key seems to be working | |
- name: Test running on ${{github.repository}} | |
run: echo Commit ${{github.sha}} from an anchor seems to be working | |
release: | |
concurrency: | |
group: release-${{ github.event.number || github.ref }} | |
permissions: | |
contents: write | |
packages: write | |
needs: | |
- test | |
runs-on: ubuntu-22.04 | |
if: >- | |
!github.event.repository.fork && ( | |
github.event_name != 'pull_request' | |
|| github.event.pull_request.head.repo.full_name == github.repository | |
) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Install Node | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version-file: package.json | |
- name: Install dependencies | |
run: npm install | |
- name: Semantic Release | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: npx semantic-release | |
success: | |
runs-on: ubuntu-22.04 | |
needs: | |
- test | |
- release | |
if: >- | |
always() && ( | |
contains(join(needs.*.result, ','), 'failure') | |
|| !contains(join(needs.*.result, ','), 'cancelled') | |
) | |
steps: | |
- name: Verify that there were no failures | |
run: ${{ !contains(join(needs.*.result, ','), 'failure') }} |