Skip to content

dev(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0 (#1063) #471

dev(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0 (#1063)

dev(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0 (#1063) #471

Workflow file for this run

name: Release
on:
push:
branches:
- dev
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
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@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Run Cypress
uses: cypress-io/github-action@v4
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@v3
with:
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Semantic Release
id: release
uses: cycjimmy/semantic-release-action@v3
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