Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
removing ñapas from build step
Browse files Browse the repository at this point in the history
  • Loading branch information
crisconru committed Jul 21, 2023
1 parent 3ea01fe commit d8d0d0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: npm install

- name: 🛠️ Build
run: mkdir node_modules/@types/gpstime && cp src/gpstime.d.ts node_modules/@types/gpstime/index.d.ts && npm run build
run: npm run types && npm run build

- name: 🧑‍🔬 Tests
run: npm run test
Expand All @@ -49,7 +49,7 @@ jobs:
run: npm install

- name: 🛠️ Build
run: mkdir node_modules/@types/gpstime && cp src/gpstime.d.ts node_modules/@types/gpstime/index.d.ts && npm run build
run: npm run types && npm run build

- name: 🚀 Publish to npm
run: npm publish --access public
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"types": "mkdir node_modules/@types/gpstime && cp src/gpstime.d.ts node_modules/@types/gpstime/index.d.ts",
"build": "tsc",
"start": "ts-node-dev ./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
"typeRoots": ["node_modules/@types"], /* Specify multiple folders that act like './node_modules/@types'. */
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
Expand Down

0 comments on commit d8d0d0c

Please sign in to comment.