Skip to content

Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.

Update package.json scripts, improve README author link, and upgrade GitHub Actions versions (#243)

Vlad Sazonaud85148679905
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 07bd805..50bc829 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -30,7 +30,7 @@ jobs:
run: |
echo "Environment URL - $ENVIRONMENT_URL"
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
@@ -40,7 +40,7 @@ jobs:
with:
mode: firewall-free
- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
name: πŸ“š Setup Node.js
with:
node-version: lts/*
diff --git a/.github/workflows/knip.yml b/.github/workflows/knip.yml
index 171d1e6..d8f8aec 100644
--- a/.github/workflows/knip.yml
+++ b/.github/workflows/knip.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
@@ -26,7 +26,7 @@ jobs:
with:
mode: firewall-free
- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
name: πŸ“š Setup Node.js
with:
node-version: lts/*
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e35c71c..7aa9a45 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
@@ -26,7 +26,7 @@ jobs:
with:
mode: firewall-free
- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
name: πŸ“š Setup Node.js
with:
node-version: lts/*
diff --git a/.github/workflows/pnpm-policy.yml b/.github/workflows/pnpm-policy.yml
index 4e3c717..19ce779 100644
--- a/.github/workflows/pnpm-policy.yml
+++ b/.github/workflows/pnpm-policy.yml
@@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
name: πŸ“š Setup Node.js
with:
node-version: lts/*
diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml
index 786df91..901a38d 100644
--- a/.github/workflows/type-check.yml
+++ b/.github/workflows/type-check.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
@@ -26,7 +26,7 @@ jobs:
with:
mode: firewall-free
- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
name: πŸ“š Setup Node.js
with:
node-version: lts/*
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 76f2b79..52fcf03 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
@@ -26,7 +26,7 @@ jobs:
with:
mode: firewall-free
- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
name: πŸ“š Setup Node.js
with:
node-version: lts/*
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index ddc704e..f645ce7 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -18,7 +18,7 @@ jobs:
actions: read # Needed for upload-sarif to read workflow run info.
steps:
# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
name: πŸ›ŽοΈ Checkout repository
with:
persist-credentials: false
@@ -27,7 +27,7 @@ jobs:
id: zizmor
continue-on-error: true
# https://github.com/zizmorcore/zizmor-action
- uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
+ uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/README.md b/README.md
index 47c1be9..06d0a45 100644
--- a/README.md
+++ b/README.md
@@ -194,7 +194,7 @@ https://github.com/user-attachments/assets/d46c6e4e-b78a-4aa1-ab44-d20d6485b682
Built by [Vlad Sazonau](https://x.com/vladsazonau)
- 🐦 Twitter: [@vladsazonau](https://twitter.com/vladsazonau)
-- πŸ’Ό LinkedIn: [Vlad Sazonau](https://www.linkedin.com/in/vlad-sazonau-22a9a9126/)
+- πŸ’Ό LinkedIn: [Vlad Sazonau](https://www.linkedin.com/in/vlad-sazonau/)
- 🌐 Website: [vladsazon.com](https://vladsazon.com)
## ❀️ Support the Project
diff --git a/lint-staged.config.js b/lint-staged.config.js
index f78de0b..dac849f 100644
--- a/lint-staged.config.js
+++ b/lint-staged.config.js
@@ -4,7 +4,7 @@ module.exports = {
"*": () => [
`pnpm run type-check:go`,
`pnpm run lint`,
- `zizmor .github/`, // zizmor is used to check the security of the GitHub Actions workflows https://docs.zizmor.sh/
+ `pnpm run check-github-actions-security`, // zizmor is used to check the security of the GitHub Actions workflows https://docs.zizmor.sh/
`pnpm run knip`,
`pnpm run prettify --write`,
],
diff --git a/package.json b/package.json
index 40cfdb1..e558bfd 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"build": "next build",
"start": "next start",
"type-check": "tsc --noEmit --diagnostics",
- "type-check:go": "npx tsgo --diagnostics",
+ "type-check:go": "tsgo --diagnostics",
"lint": "pnpm eslint . --cache",
"lint:fix": "pnpm eslint . --fix",
"prettify": "prettier --write --cache '**/*.{ts?(x),json,js,mjs,yml,yaml,md}'",
@@ -25,7 +25,6 @@
"e2e:update-snapshots": "pnpm e2e --update-snapshots",
"dedupe": "pnpm dedupe",
"lint-stage": "pnpm lint-staged --verbose",
- "check-meta": "pnpx check-site-meta",
"dev:email": "email dev --dir src/emails",
"prepare": "husky",
"expose-to-internet": "cloudflared tunnel --url http://localhost:3000",
@@ -33,6 +32,7 @@
"corepack:enable": "corepack enable",
"corepack:prepare": "corepack prepare pnpm@latest",
"update-github-actions": "pnpm actions-up --min-age=7",
+ "check-github-actions-security": "zizmor .",
"test-gh-action-locally:monthly-recurring-invoice": "act schedule -j recurring-invoice --secret-file .github/workflows/.secrets"
},
"dependencies": {
diff --git a/src/config.ts b/src/config.ts
index cb7dcd2..6d2b2ef 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -93,8 +93,7 @@ export const PROD_WEBSITE_URL = "https://easyinvoicepdf.com";
export const GITHUB_URL = "https://github.com/VladSez/easy-invoice-pdf";
-export const LINKEDIN_URL =
- "https://www.linkedin.com/in/vlad-sazonau-22a9a9126/";
+export const LINKEDIN_URL = "https://www.linkedin.com/in/vlad-sazonau/";
export const TWITTER_URL = "https://x.com/vladsazonau";
export const TWITTER_CREATOR = "@vlad_sazonau";