chore(deps): update dependency lint-staged to v15.2.8 #10816
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 | |
on: [push, pull_request] | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
id: pnpm-install | |
with: | |
version: "7.29.1" | |
run_install: false | |
- name: Setup nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "19.7.0" | |
#- name: Setup pnpm cache | |
#uses: actions/cache@v3 | |
#with: | |
#path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
#key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
#restore-keys: | | |
#${{ runner.os }}-pnpm-store- | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Release | |
run: pnpm semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |