Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

ref: prep repo for move to @sentry-javascript (#227) #1028

ref: prep repo for move to @sentry-javascript (#227)

ref: prep repo for move to @sentry-javascript (#227) #1028

Workflow file for this run

name: "ci"
on:
pull_request:
push:
branches:
- main
- "release/*"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: yarn install --frozen-lockfile
- run: |
git config clangFormat.binary node_modules/.bin/clang-format
git config clangFormat.style file
yarn lint
build-test-matrix:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-2019, ubuntu-latest]
node-version: [16.x, 18.x, 20.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: yarn clean
- name: Setup windows build tools
uses: microsoft/[email protected]
if: ${{ runner.os == 'Windows' }}
- run: yarn install --frozen-lockfile
- run: yarn build:configure
- run: yarn build
- run: yarn test --silent