Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
name: Bundler_Friendly
|
||
|
||
on:
|
||
schedule:
|
||
# “At 00:00 on Sunday.” https://crontab.guru/#0%C2%A00%C2%A0*%C2%A0*%C2%A00
|
||
- cron: "0 0 * * 0"
|
||
pull_request:
|
||
paths:
|
||
- "scripts/tools/bundle-test/**"
|
||
# This workflow file
|
||
- ".github/workflows/bundler-friendly.yml"
|
||
|
||
permissions:
|
||
contents: read
|
||
|
||
concurrency:
|
||
group: ${{ github.workflow }}-${{ github.ref }}
|
||
cancel-in-progress: true
|
||
|
||
jobs:
|
||
build:
|
||
name: Build
|
||
uses: ./.github/workflows/_build.yml
|
||
|
||
webpack:
|
||
name: Bundle Prettier with webpack
|
||
runs-on: ubuntu-latest
|
||
needs: [build]
|
||
steps:
|
||
- name: Checkout
|
||
uses: actions/checkout@v3.1.0
|
||
|
||
- name: Setup Node.js
|
||
uses: actions/setup-node@v3.5.1
|
||
with:
|
||
cache: "yarn"
|
||
|
||
- name: Install Dependencies
|
||
run: yarn install --immutable
|
||
|
||
- name: Download Artifact
|
||
uses: actions/download-artifact@v3.0.0
|
||
with:
|
||
name: dist
|
||
path: dist
|
||
|
||
- name: Install Dependencies
|
||
run: yarn install --immutable
|
||
working-directory: scripts/tools/bundle-test
|
||
|
||
- name: Test
|
||
run: yarn test
|
||
working-directory: scripts/tools/bundle-test
|