1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-12 14:22:21 +04:00
Files
tabler/.github/workflows/bundlewatch.yml
T
2023-07-15 23:37:32 +02:00

49 lines
938 B
YAML

name: Bundlewatch
on:
pull_request: null
push:
branches:
- main
- dev
env:
FORCE_COLOR: 2
NODE: 18
jobs:
bundlewatch:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ env.NODE }}"
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 7
- name: Set up Bundler
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
- name: Install pnpm dependencies
run: pnpm install --no-frozen-lockfile
- name: Run build
run: pnpm run build
- name: Run bundlewatch
run: pnpm run bundlewatch
env:
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
CI_BRANCH_BASE: dev