Merge pull request #1381 from alxshelepenok/renovate/sentry-javascrip… #1652
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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Cache npm | |
uses: actions/cache@v3 | |
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@v3 | |
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 }} | |
run: npm run semantic-release |