mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: Bundlewatch
|
|
|
|
on:
|
|
pull_request: null
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
env:
|
|
FORCE_COLOR: 2
|
|
NODE: 20
|
|
|
|
jobs:
|
|
bundlewatch:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Cache turbo build setup
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: .turbo
|
|
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
|
restore-keys: |
|
|
${{ runner.os }}-turbo-
|
|
|
|
- name: Install PNPM
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: "${{ env.NODE }}"
|
|
cache: 'pnpm'
|
|
|
|
- name: Set up Bundler
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.2
|
|
bundler-cache: true
|
|
|
|
- name: Install pnpm dependencies
|
|
run: pnpm install --no-frozen-lockfile
|
|
|
|
- name: Run bundlewatch
|
|
run: pnpm run bundlewatch
|
|
env:
|
|
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
|
|
CI_BRANCH_BASE: dev
|