Skip to content

ci: bump lint-staged from 15.2.8 to 15.2.9 in the babel group (#1258) #641

ci: bump lint-staged from 15.2.8 to 15.2.9 in the babel group (#1258)

ci: bump lint-staged from 15.2.8 to 15.2.9 in the babel group (#1258) #641

Workflow file for this run

name: Release
on:
push:
branches:
- dev
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run linters
run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
browser:
- 'chrome'
# - 'firefox'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Run Cypress
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm start
browser: ${{ matrix.browser }}
semantic-release:
runs-on: ubuntu-latest
# wait until test & lint complete
needs: ['lint', 'test']
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Semantic Release
id: release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
with:
extra_plugins: |
@eclass/semantic-release-sentry-releases
@semantic-release/git
@semantic-release/exec
- name: Create Sentry release
if: ${{ steps.release.outputs.release == 'yes' }}
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production