chore(deps): update dependency lint-staged to ^15.2.2 #213
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: | |
branches: | |
- master | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Cache npm | |
uses: actions/cache@v4 | |
id: npm-cache | |
with: | |
path: ~/.npm | |
key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
restore-keys: | |
npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
npm-${{ runner.os }}- | |
- name: Install modules | |
if: steps.npm-modules-cache.outputs.cache-hit != 'true' | |
run: npm ci | |
- name: Cache modules | |
id: npm-modules-cache | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: npm-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
npm-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | |
npm-modules-${{ runner.os }}- | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npm run semantic-release |