Skip to content

build(deps): bump svgo from 3.3.2 to 3.3.3 (#275) #782

build(deps): bump svgo from 3.3.2 to 3.3.3 (#275)

build(deps): bump svgo from 3.3.2 to 3.3.3 (#275) #782

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
- release/**
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Run generate
run: yarn generate
- name: Format generated code
run: yarn format
- name: Run tests
run: yarn test
- name: Run lints
run: yarn lint
- name: Check for changes
if: matrix.os == 'ubuntu-latest'
id: verify-changed-files
run: |
changes=$(git status --porcelain)
if [ -n "$changes" ]; then
echo "Uncommitted changes found after build/script execution. Failing job."
git status
exit 1
else
echo "Working tree is clean. No uncommitted changes found."
exit 0
fi
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: "package.json"
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install node modules
run: yarn install --frozen-lockfile
- name: Build Packages
run: yarn build
- name: Generate tarball artifact
run: yarn build:tarball
- name: Upload artifacts for release via getsentry/craft
uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: |
javascript/**/*.tgz
python/**/*.whl
model/**/*.tgz
if-no-files-found: error