Merge branch 'main' into next-rebase
# Conflicts: # .eslintrc.cjs # package.json # scripts/build/bundler.mjs # scripts/build/config.mjs # scripts/build/esbuild-plugins/replace-module.mjs # src/cli/file-info.js # src/cli/find-config-path.js # src/cli/index.js
This commit is contained in:
commit
a21dfbfa21
50 files changed
+1519
-355
No files matched your search
@@ -0,0 +1,62 @@
|
||||
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"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "yarn"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Build Package
|
||||
run: yarn build
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
webpack:
|
||||
name: Bundle Prettier with webpack
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: scripts/tools/bundle-test
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.4.0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2.5.1
|
||||
|
||||
- name: Download Artifact
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Test
|
||||
run: yarn test
|
||||
@@ -2,12 +2,14 @@ name: Dev_Package_Test
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * 1"
|
||||
# “At 00:00 on Sunday.” https://crontab.guru/#0%C2%A00%C2%A0*%C2%A0*%C2%A00
|
||||
- cron: "0 0 * * 0"
|
||||
pull_request:
|
||||
paths:
|
||||
- "package.json"
|
||||
- ".github/workflows/dev-package-test.yml"
|
||||
- "yarn.lock"
|
||||
# This workflow file
|
||||
- ".github/workflows/dev-package-test.yml"
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
@@ -4,10 +4,12 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
|
||||
# This workflow file
|
||||
- ".github/workflows/eslint-rules.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "scripts/tools/eslint-plugin-prettier-internal-rules/**"
|
||||
# This workflow file
|
||||
- ".github/workflows/eslint-rules.yml"
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in new issue
Block a user