feat(core): handle built-in variables like __mpx_mode__
#105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autofix.ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
autofix: | |
runs-on: ubuntu-latest | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4.1.0 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- run: pnpm install | |
- name: Run eslint | |
run: pnpm run lint --fix | |
- name: Run prettier | |
run: pnpm run format | |
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef |