Skip to content

chore(deps-dev): bump vite from 8.0.1 to 8.0.3 (#1167) #3300

chore(deps-dev): bump vite from 8.0.1 to 8.0.3 (#1167)

chore(deps-dev): bump vite from 8.0.1 to 8.0.3 (#1167) #3300

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
id-token: write
contents: write
jobs:
build_test_publish:
name: Build, test and publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
node-version: 24.x
cache: yarn
- name: Install packages
run: |
yarn --immutable
- name: Lint, build, and test
run: |
yarn build:ts
yarn lint
yarn test
- name: Release on npm
if: github.event_name != 'pull_request'
env:
GIT_AUTHOR_NAME: Florian Imdahl
GIT_AUTHOR_EMAIL: [email protected]
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME}"
export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}"
git config --global "user.email" "${GIT_AUTHOR_EMAIL}"
git config --global "user.name" "${GIT_AUTHOR_NAME}"
set -o pipefail
yarn release 2>&1 | tee /tmp/release.log
- name: Upload release log
if: failure()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: release-log
path: /tmp/release.log