Skip to content

Commit 572be17

Browse files
authored
Merge pull request #6 from emoji-gen/use-prepack-instead-of-prepare
Use prepack instead of prepare
2 parents 318102c + 9c78799 commit 572be17

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@ jobs:
2222
- uses: actions/setup-node@v3
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
- run: yarn
26-
- run: yarn test
25+
- name: Install dependencies
26+
run: yarn
27+
- name: Build package
28+
run: yarn run build
29+
- name: Run test
30+
run: yarn test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"test": "jest",
1919
"build": "tsup src/index.ts --dts --format esm,cjs --target es5",
2020
"clean": "rimraf dist",
21-
"prepare": "run-s clean build"
21+
"prepack": "run-s clean build"
2222
},
2323
"devDependencies": {
2424
"@swc/core": "^1.2.210",

0 commit comments

Comments
 (0)