chore(deps): update dependency husky to ^9.1.7 #65
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: Release test | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
permissions: | |
contents: write | |
jobs: | |
release-test: | |
name: Release test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Get lts node versions | |
id: get-lts-versions | |
run: scripts/get-lts-versions.sh | |
- name: Use Node.js ${{ steps.get-lts-versions.outputs.last_lts_version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ steps.get-lts-versions.outputs.last_lts_version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Install semantic release | |
run: yarn add -D [email protected] @semantic-release/[email protected] @semantic-release/[email protected] | |
- name: Apply debug patches | |
run: patches/apply-patches.sh | |
- name: Semantic release dry run | |
run: GITHUB_ACTIONS="" yarn semantic-release --dry-run --branches ${{ github.event.pull_request.head.ref }} | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |