From: Jérôme Benoit Date: Fri, 28 Jun 2024 14:14:50 +0000 (+0200) Subject: build(ci): add autofix GH action X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f086076cdb09ec7a682f6e931fc4fab7f24aff58;p=benchmarks-js.git build(ci): add autofix GH action Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml new file mode 100644 index 0000000..3100c78 --- /dev/null +++ b/.github/workflows/autofix.yml @@ -0,0 +1,20 @@ +name: autofix.ci +on: + pull_request: + push: + branches: [master] +permissions: + contents: read + +jobs: + autofix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + cache: 'pnpm' + - run: pnpm install --ignore-scripts + - run: pnpm format + - uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a