Skip to content

Commit aceee2f

Browse files
committed
test workflow
1 parent 9277955 commit aceee2f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
node-version: 16
1616
registry-url: https://registry.npmjs.org/
1717
- run: |
18+
npm install --audit=false --fund=false
1819
npm test
1920
npm publish
2021
env:

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"test": "cd ./test && node test.js",
1919
"pub": "npm_config_registry=\"https://registry.npmjs.org/\" npm publish --userconfig ~/.pubnpmrc --access public"
2020
},
21+
"devDependencies": {
22+
"esbuild": "^0.14.21"
23+
},
2124
"peerDependencies": {
2225
"esbuild": "^0.14.21"
2326
},
@@ -28,5 +31,8 @@
2831
"postcss": "^8.4.6",
2932
"postcss-modules": "^4.3.0",
3033
"tmp": "^0.2.1"
34+
},
35+
"publishConfig": {
36+
"access": "public"
3137
}
3238
}

0 commit comments

Comments
 (0)