Skip to content

Commit 7eb83ab

Browse files
committed
chore: don't use postinstall script
1 parent 0daec31 commit 7eb83ab

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/actions/setup/action.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ runs:
2929
run: yarn install --immutable
3030
shell: bash
3131

32-
- name: Run postinstall
33-
if: steps.yarn-cache.outputs.cache-hit == 'true'
34-
run: yarn postinstall
32+
- name: Run yarn genversion
33+
run: yarn genversion
3534
shell: bash
3635

3736
- name: Cache dependencies

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
},
2828
"scripts": {
2929
"genversion": "genversion src/internals/version.ts --esm -s",
30-
"postinstall": "yarn genversion",
3130
"prepare": "yarn genversion && typedoc && bob build",
3231
"clean": "shx rm -rf bin",
3332
"prebuild:tests": "yarn clean",

0 commit comments

Comments
 (0)