1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- name: Bundlewatch
- on:
- pull_request: null
- push:
- branches:
- - main
- - dev
- env:
- FORCE_COLOR: 2
- NODE: 16
- 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 }}"
- cache: npm
- - name: Set up Bundler
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: 2.6
- bundler-cache: true
- - name: Install npm dependencies
- run: npm install
- - name: Run build
- run: npm run build
- - name: Run bundlewatch
- run: npm run bundlewatch
- env:
- BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
- CI_BRANCH_BASE: dev
|