From 6f90540bac80758cb069e730a6598eb4519f74b6 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Tue, 6 Dec 2022 23:28:55 +0100 Subject: [PATCH 1/4] ci: remove npm-check-updates --- package.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 4950ddd..a937602 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,6 @@ "git-authors-cli": "latest", "hex-color-regex": "latest", "nano-staged": "latest", - "npm-check-updates": "latest", "prettier-standard": "latest", "simple-git-hooks": "latest", "standard": "latest", @@ -76,15 +75,12 @@ "lint": "standard-markdown README.md && standard", "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)", "preinstall": "npx bin-version-check-cli magick \">=7\"", - "prerelease": "npm run update:check", "pretest": "npm run lint", "release": "standard-version -a", "release:github": "conventional-github-releaser -p angular", "release:tags": "git push --follow-tags origin HEAD:master", "start": "node index.js", - "test": "c8 ava", - "update": "ncu -u", - "update:check": "ncu -- --error-level 2" + "test": "c8 ava" }, "license": "MIT", "commitlint": { From b744df2215ed2d9698062adfb3ed596416768afe Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Tue, 6 Dec 2022 23:29:33 +0100 Subject: [PATCH 2/4] build: avoid lock --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0285b42..ef596b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: convert --version convert -list format convert -list configure - npm install + npm install --no-package-lock - name: Test run: npm test - name: Report From 69f7e1754cc4afac23b7fb473ea2702e59a478bb Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Tue, 6 Dec 2022 23:30:23 +0100 Subject: [PATCH 3/4] build: rename main into test --- .github/workflows/{main.yml => test.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{main.yml => test.yml} (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/test.yml From bdccdf9b5035848f95134962db93e24838e6168e Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Tue, 6 Dec 2022 23:32:50 +0100 Subject: [PATCH 4/4] build: speed up contributors --- .github/workflows/contributors.yml | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 6d1d382..00b0593 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -18,7 +18,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: lts/* - - name: Install - run: npm install --no-package-lock --ignore-scripts - name: Contributors - run: npm run contributors + run: | + git config --global user.email ${{ secrets.GIT_EMAIL }} + git config --global user.name ${{ secrets.GIT_USERNAME }} + npm run contributors diff --git a/package.json b/package.json index a937602..2ba7d49 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ ], "scripts": { "clean": "rm -rf node_modules", - "contributors": "(git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", + "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", "dev": "nodemon --exec \"npm start\" -e \"js\"", "lint": "standard-markdown README.md && standard", "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",