Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ jobs:
uses: codecov/codecov-action@v3

release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
needs: main
runs-on: ubuntu-latest
if: ${{ github.repository == 'testing-library/eslint-plugin-jest-dom' &&
Expand All @@ -97,7 +102,12 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22

# todo: this can be removed once we are using a version of Node that
# ships with npm v11.5.1 or higher, which is needed for using oidc
- name: install latest npm
run: npm i -g npm

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand All @@ -112,7 +122,7 @@ jobs:
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 18
semantic_version: 25
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
Expand All @@ -124,4 +134,3 @@ jobs:
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading