From c21a48a4fa80834c9055b03ae1fa7964f8e2ec19 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 6 Sep 2023 21:41:02 +0200 Subject: [PATCH] build: tweaks --- .github/workflows/main.yml | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d87bec2..db61e00 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: - name: Report run: mkdir -p coverage && npx c8 report --reporter=text-lcov > coverage/lcov.info - name: Coverage - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@main with: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Release diff --git a/package.json b/package.json index d6dcf91..46f5607 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "devDependencies": { "@commitlint/cli": "latest", "@commitlint/config-conventional": "latest", + "@ksmithut/prettier-standard": "latest", "ava": "latest", "c8": "latest", "ci-publish": "latest", @@ -47,7 +48,6 @@ "nano-staged": "latest", "npm-check-updates": "latest", "ow": "~0.28.2", - "prettier-standard": "latest", "simple-git-hooks": "latest", "standard": "latest", "standard-markdown": "latest", @@ -85,7 +85,8 @@ }, "nano-staged": { "*.js,!*.min.js,": [ - "prettier-standard" + "prettier-standard", + "standard --fix" ], "*.md": [ "standard-markdown"