Skip to content

Commit

Permalink
build: gh workflow with build
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Sep 28, 2024
1 parent c64d07a commit b0f7b92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@
"require": "./dist/cjs/promises.cjs"
}
},
"files": [
"dist"
],
"lint-staged": {
"*.js": "npm run lint:fix",
"*.md": "prettier -w"
},
"main": "./lib/index",
"mocha": {
"inline-diffs": true,
"loader": "ts-node/esm",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["./src/**/*.ts"],
"compilerOptions": {
"outDir": "./dist/cjs",
"rootDir": "./src",
Expand Down

0 comments on commit b0f7b92

Please sign in to comment.