Bump @sentry/browser from 5.30.0 to 7.119.1 in /client #3423
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
defaults: | |
run: | |
working-directory: client | |
strategy: | |
matrix: | |
target: ['web', 'lib', 'electron'] | |
name: Client Tests | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v2 | |
- | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16.14.2' | |
- | |
name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- | |
uses: actions/cache@v2 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- | |
name: Yarn install | |
run: yarn install --frozen-lockfile | |
- | |
name: Lint | |
if: ${{ matrix.target == 'web' }} | |
run: yarn lint | |
- | |
name: Lint templates | |
if: ${{ matrix.target == 'web' }} | |
run: yarn lint:templates | |
- | |
name: Run tests | |
if: ${{ matrix.target == 'web' }} | |
run: yarn test --collect-coverage | |
- | |
name: Build Web | |
if: ${{ matrix.target == 'web' }} | |
run: yarn build:web | |
env: | |
SENTRY_AUTH_TOKEN: ${{ github.ref == 'refs/heads/main' && secrets.SENTRY_AUTH_TOKEN || '' }} | |
- | |
name: Build lib | |
if: ${{ matrix.target == 'lib' }} | |
run: yarn build:lib | |
- | |
name: Build electron | |
if: ${{ matrix.target == 'electron' }} | |
run: yarn build:electron | |
test-server: | |
name: Server Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
steps: | |
- name: Update Package References | |
run: sudo apt-get update | |
- name: Install system dependencies | |
run: sudo apt-get install --no-install-recommends --yes | |
python3-cachecontrol | |
python3-dev | |
python3-gdal | |
libgdal-dev | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install tox | |
run: pip install tox | |
- name: Run tests | |
run: tox -e testunit | |
working-directory: server | |