Skip to content

fix(deps): Bump vite to 8.1.1 #3636

fix(deps): Bump vite to 8.1.1

fix(deps): Bump vite to 8.1.1 #3636

name: Main
permissions: {}
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build_test_publish:
permissions:
id-token: write
contents: write
name: Build, test and publish
runs-on: ubuntu-latest
if: github.event_name != 'workflow_dispatch'
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: 26
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: ffflorian@users.noreply.github.com
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@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: release-log
path: /tmp/release.log
force-release:
permissions:
contents: write
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch'
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- uses: ffflorian/actions/force-release@c9a3071b2d17985d88f3bbaeab838871d9b61bdd
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
git_authorship: 'Florian Imdahl <git@ffflorian.de>'