Skip to content

Commit a3fe09e

Browse files
committed
Don't use unmaintained convert-action anymore
1 parent 5412709 commit a3fe09e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
# format-release-notes:
9-
# if: ${{ always() }}
9+
# if: ${{ always() }}
1010
# needs: [build]
1111
# permissions:
1212
# contents: write
@@ -16,7 +16,7 @@ jobs:
1616
# - uses: otto-ec/m4-delivery_gh_actions/release-notes@79378c00eb1e630f7567b1d0a463308fbd10e702
1717
# continue-on-error: true
1818
# with:
19-
# token: ${{ secrets.EC_TOKEN }}
19+
# token: ${{ secrets.EC_TOKEN }}
2020

2121
build:
2222
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"prebuild": "rm -rf dist",
77
"build": "npx @vercel/ncc build index.ts",
8-
"postbuild": "npx convert-action && sed -i 's/using: node20/using: node24/' action.yml",
8+
"postbuild": "perl -i -pe 's/main: index\\.guard\\.js/main: dist\\/index.js/' action.yml",
99
"guard:build": "npx @vercel/ncc build index.guard.ts --minify -o index.guard && cp index.guard/index.js index.guard.js",
1010
"pretest": "tsc",
1111
"test": "node --test tests/*.test.js"

0 commit comments

Comments
 (0)